]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
fdt: fix out of tree builds with DT support
authorWolfgang Denk <wd@denx.de>
Thu, 19 Apr 2012 02:36:07 +0000 (02:36 +0000)
committerWolfgang Denk <wd@denx.de>
Sat, 21 Apr 2012 14:47:45 +0000 (16:47 +0200)
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>
dts/Makefile

index 5792afd2719aecbcf886f1eda7b069c4d0a2f850..8b13b2324563735cd24a6d6f47d0ce7b7afe5b20 100644 (file)
@@ -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)