File: update_image_cores.sh

package info (click to toggle)
uhd 4.9.0.0%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 184,180 kB
  • sloc: cpp: 262,887; python: 112,011; ansic: 102,670; vhdl: 57,031; tcl: 19,924; xml: 8,581; makefile: 3,028; sh: 2,812; pascal: 230; javascript: 120; csh: 94; asm: 20; perl: 11
file content (13 lines) | stat: -rwxr-xr-x 419 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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