2 # SPDX-License-Identifier: GPL-2.0+
4 # script to check whether the file exists in imximage.cfg for i.MX8
6 # usage: $0 <imximage.cfg>
10 blobs=`awk '/^APPEND/ {print $2} /^IMAGE/ || /^DATA/ {print $3}' $file`
13 if [ $f = "u-boot-dtb.bin" ]; then
21 if [ ! -f $tmp ]; then
22 echo "WARNING '$tmp' not found, resulting binary is not-functional" >&2
26 sed -in "s;$f;$tmp;" $file