Page MenuHomeFreeBSD

D18376.id51347.diff
No OneTemporary

D18376.id51347.diff

Index: sys/tools/fdt/make_dtb.sh
===================================================================
--- sys/tools/fdt/make_dtb.sh
+++ sys/tools/fdt/make_dtb.sh
@@ -16,12 +16,13 @@
MACHINE=$(uname -m)
fi
-: ${DTC:=dtc}
-: ${ECHO:=echo}
+: "${DTC:=dtc}"
+: "${ECHO:=echo}"
+: "${CPP:=cpp}"
for d in ${dts}; do
- dtb=${dtb_path}/`basename $d .dts`.dtb
+ dtb="${dtb_path}/$(basename "$d" .dts).dtb"
${ECHO} "converting $d -> $dtb"
- cpp -P -x assembler-with-cpp -I $S/gnu/dts/include -I $S/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -I $S/gnu/dts/ -include $d /dev/null |
- ${DTC} -@ -O dtb -o $dtb -b 0 -p 1024 -i $S/dts/${MACHINE} -i $S/gnu/dts/${MACHINE} -i $S/gnu/dts/
+ ${CPP} -P -x assembler-with-cpp -I "$S/gnu/dts/include" -I "$S/dts/${MACHINE}" -I "$S/gnu/dts/${MACHINE}" -I "$S/gnu/dts/" -include "$d" /dev/null |
+ ${DTC} -@ -O dtb -o "$dtb" -b 0 -p 1024 -i "$S/dts/${MACHINE}" -i "$S/gnu/dts/${MACHINE}" -i "$S/gnu/dts/"
done

File Metadata

Mime Type
text/plain
Expires
Sat, Aug 8, 1:51 AM (20 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36205207
Default Alt Text
D18376.id51347.diff (962 B)

Event Timeline