From 921dfd1c64fdf55b8e0a5a478c7125a4cd546fff Mon Sep 17 00:00:00 2001
From: imp <imp@FreeBSD.org>
Date: Fri, 28 Feb 2014 22:37:35 +0000
Subject: [PATCH] Use proper include path for dtc as well as cpp.

---
 sys/tools/fdt/make_dtb.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/tools/fdt/make_dtb.sh b/sys/tools/fdt/make_dtb.sh
index 8e4892ee293f..900ad9bd399c 100755
--- a/sys/tools/fdt/make_dtb.sh
+++ b/sys/tools/fdt/make_dtb.sh
@@ -8,4 +8,4 @@ dts=$2
 dtb=$3
 
 cpp -x assembler-with-cpp -I $S/gnu/dts/include -I $S/boot/fdt/dts/${MACHINE} -I $S/gnu/dts/${MACHINE} -include $dts /dev/null | 
-	dtc -O dtb -o $dtb -b 0 -p 1024 -i $S/boot/fdt/dts -i $S/gnu/dts/${MACHINE}
+	dtc -O dtb -o $dtb -b 0 -p 1024 -i $S/boot/fdt/dts/${MACHINE} -i $S/gnu/dts/${MACHINE}