aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2014-06-10 06:24:01 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2014-06-10 06:24:01 +0000
commit4f1156ca623939d041adee9e8e0122701e72b498 (patch)
treed150e5af148fcf0416117d6b8f099aa7783d6154 /sys/tools
parent7f78c17319ae28602d64df1c6a51b36c63aec4c1 (diff)
downloadsrc-4f1156ca623939d041adee9e8e0122701e72b498.tar.gz
src-4f1156ca623939d041adee9e8e0122701e72b498.zip
Call cpp with -P to avoid printing line markings.
Notes
Notes: svn path=/head/; revision=267319
Diffstat (limited to 'sys/tools')
-rwxr-xr-xsys/tools/fdt/make_dtb.sh2
1 files changed, 1 insertions, 1 deletions
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