Files
b210-k7-fpga/tools/utils/update_image_cores.sh
T
Wade Fife 5c23c71e44 fpga: utils: Use default image core name
Original-commit: e7167fd0448f65c07b4a061e2bb1678ce2d06031
2024-03-15 00:32:53 -05:00

14 lines
419 B
Bash
Executable File

#!/usr/bin/bash
TOP_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )/../../top
for device_top in e31x e320 n3xx x300 x400; do
curr_path=$(realpath ${TOP_DIR}/${device_top})
echo "Updating image cores in $curr_path..."
cd $curr_path
for yml_f in *core.yml; do
echo "Regenerating from $yml_f..."
rfnoc_image_builder -y $yml_f -H -D -G -l warning $@
done
done