From: Wolfgang Denk Date: Thu, 19 Apr 2012 02:36:07 +0000 (+0000) Subject: fdt: fix out of tree builds with DT support X-Git-Tag: v2012.04~7 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82f45866ee90b5e6a8f63500ae6feada0864d821;p=oweals%2Fu-boot.git 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 Cc: Simon Glass Acked-by: Simon Glass --- diff --git a/dts/Makefile b/dts/Makefile index 5792afd271..8b13b23245 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)