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

Emmanuel Vadot manu at FreeBSD.org
Thu Aug 23 13:23:23 UTC 2018


Author: manu
Date: Thu Aug 23 13:23:21 2018
New Revision: 338246
URL: https://svnweb.freebsd.org/changeset/base/338246

Log:
  make_dtb: Always add root directory in the include path
  
  Some arch like arm and arm64 share DTS files, add the root dts directory
  to the include paths.

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

Modified: head/sys/tools/fdt/make_dtb.sh
==============================================================================
--- head/sys/tools/fdt/make_dtb.sh	Thu Aug 23 13:21:01 2018	(r338245)
+++ head/sys/tools/fdt/make_dtb.sh	Thu Aug 23 13:23:21 2018	(r338246)
@@ -21,6 +21,6 @@ fi
 for d in ${dts}; do
     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} -include $d /dev/null | 
-	${DTC} -@ -O dtb -o $dtb -b 0 -p 1024 -i $S/dts/${MACHINE} -i $S/gnu/dts/${MACHINE}
+    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


More information about the svn-src-all mailing list