summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2012-04-19 02:36:07 +0000
committerWolfgang Denk <wd@denx.de>2012-04-21 16:47:45 +0200
commit82f45866ee90b5e6a8f63500ae6feada0864d821 (patch)
tree308901dc98610d83cef6222c9568add621469eed
parent1432c763f8d90f468217a6eab6a6b82c262dca3e (diff)
downloadu-boot-imx-82f45866ee90b5e6a8f63500ae6feada0864d821.zip
u-boot-imx-82f45866ee90b5e6a8f63500ae6feada0864d821.tar.gz
u-boot-imx-82f45866ee90b5e6a8f63500ae6feada0864d821.tar.bz2
fdt: fix out of tree builds with DT support
Fix: FATAL ERROR: Couldn't open "../arch/arm/dts/tegra20.dtsi": No such file or directory Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--dts/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dts/Makefile b/dts/Makefile
index 5792afd..8b13b23 100644
--- a/dts/Makefile
+++ b/dts/Makefile
@@ -36,7 +36,7 @@ $(error Your architecture does not have device tree support enabled. \
Please define CONFIG_ARCH_DEVICE_TREE))
# We preprocess the device tree file provide a useful define
-DTS_CPPFLAGS := -DARCH_CPU_DTS=\"../arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\"
+DTS_CPPFLAGS := -DARCH_CPU_DTS=\"$(SRCTREE)/arch/$(ARCH)/dts/$(CONFIG_ARCH_DEVICE_TREE).dtsi\"
all: $(obj).depend $(LIB)