svn commit: r267319 - head/sys/tools/fdt

Rui Paulo rpaulo at FreeBSD.org
Tue Jun 10 06:24:02 UTC 2014


Author: rpaulo
Date: Tue Jun 10 06:24:01 2014
New Revision: 267319
URL: http://svnweb.freebsd.org/changeset/base/267319

Log:
  Call cpp with -P to avoid printing line markings.

Modified:
  head/sys/tools/fdt/make_dtb.sh

Modified: head/sys/tools/fdt/make_dtb.sh
==============================================================================
--- head/sys/tools/fdt/make_dtb.sh	Tue Jun 10 06:16:34 2014	(r267318)
+++ head/sys/tools/fdt/make_dtb.sh	Tue Jun 10 06:24:01 2014	(r267319)
@@ -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


More information about the svn-src-head mailing list