aboutsummaryrefslogtreecommitdiff
path: root/sys/tools
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-08-23 13:23:21 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-08-23 13:23:21 +0000
commit569555845139a10f67e1fb690ce34483401e5ebf (patch)
tree215aefa0465f82659e0e7b41010c7d95b6482520 /sys/tools
parentc3f6b2cf9f432524af8f1f57c055aae2e5997226 (diff)
downloadsrc-569555845139a10f67e1fb690ce34483401e5ebf.tar.gz
src-569555845139a10f67e1fb690ce34483401e5ebf.zip
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.
Notes
Notes: svn path=/head/; revision=338246
Diffstat (limited to 'sys/tools')
-rwxr-xr-xsys/tools/fdt/make_dtb.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/tools/fdt/make_dtb.sh b/sys/tools/fdt/make_dtb.sh
index 1efd4d1732a1..cb1d2d76441d 100755
--- a/sys/tools/fdt/make_dtb.sh
+++ b/sys/tools/fdt/make_dtb.sh
@@ -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