From 4f1156ca623939d041adee9e8e0122701e72b498 Mon Sep 17 00:00:00 2001 From: Rui Paulo Date: Tue, 10 Jun 2014 06:24:01 +0000 Subject: [PATCH] Call cpp with -P to avoid printing line markings. --- sys/tools/fdt/make_dtb.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/tools/fdt/make_dtb.sh b/sys/tools/fdt/make_dtb.sh index 7724c95f3233..f994ce52e84e 100755 --- a/sys/tools/fdt/make_dtb.sh +++ b/sys/tools/fdt/make_dtb.sh @@ -15,6 +15,6 @@ fi for d in ${dts}; do dtb=${dtb_path}/`basename $d .dts`.dtb echo "converting $d -> $dtb" - cpp -x assembler-with-cpp -I $S/gnu/dts/include -I $S/boot/fdt/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -include $d /dev/null | + cpp -P -x assembler-with-cpp -I $S/gnu/dts/include -I $S/boot/fdt/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -include $d /dev/null | dtc -O dtb -o $dtb -b 0 -p 1024 -i $S/boot/fdt/dts/${MACHINE} -i $S/gnu/dts/${MACHINE} done