[U-Boot] [PATCH v4 1/4] fdt: Add dts/dtsi file include paths to DTC command line
Tom Warren
twarren.nvidia at gmail.com
Thu Feb 14 22:03:58 CET 2013
This requires a version of dtc that can handle the 'i' argument
Signed-off-by: Tom Warren <twarren at nvidia.com>
---
v4: new
dts/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dts/Makefile b/dts/Makefile
index 922c78c..2ef31e9 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -50,7 +50,7 @@ DT_BIN := $(obj)dt.dtb
$(DT_BIN): $(TOPDIR)/board/$(VENDOR)/dts/$(DEVICE_TREE).dts
rc=$$( \
cat $< | $(CPP) -P $(DTS_CPPFLAGS) - | \
- { { $(DTC) -R 4 -p 0x1000 -O dtb -o ${DT_BIN} - 2>&1 ; \
+ { { $(DTC) -R 4 -p 0x1000 -i $(TOPDIR)/board/$(VENDOR)/dts -i $(TOPDIR)/arch/$(ARCH)/dts -O dtb -o ${DT_BIN} - 2>&1 ; \
echo $$? >&3 ; } | \
grep -v '^DTC: dts->dtb on file' ; \
} 3>&1 1>&2 ) ; \
--
1.7.0.4
More information about the U-Boot
mailing list