From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Warren Date: Thu, 14 Feb 2013 14:03:58 -0700 Subject: [U-Boot] [PATCH v4 1/4] fdt: Add dts/dtsi file include paths to DTC command line In-Reply-To: <1360875841-30594-1-git-send-email-twarren@nvidia.com> References: <1360875841-30594-1-git-send-email-twarren@nvidia.com> Message-ID: <1360875841-30594-2-git-send-email-twarren@nvidia.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de This requires a version of dtc that can handle the 'i' argument Signed-off-by: Tom Warren --- 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