Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2018 13:23:22 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r338246 - head/sys/tools/fdt
Message-ID:  <201808231323.w7NDNM0p018324@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808231323.w7NDNM0p018324>