public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] fdt: fix out of tree builds with DT support
@ 2012-04-19 12:36 Wolfgang Denk
  2012-04-19 14:20 ` Simon Glass
  2012-04-21 14:47 ` Wolfgang Denk
  0 siblings, 2 replies; 8+ messages in thread
From: Wolfgang Denk @ 2012-04-19 12:36 UTC (permalink / raw)
  To: u-boot

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>
---
 dts/Makefile |    2 +-
 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)
 
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-04-21 14:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-19 12:36 [U-Boot] [PATCH] fdt: fix out of tree builds with DT support Wolfgang Denk
2012-04-19 14:20 ` Simon Glass
2012-04-19 18:27   ` Wolfgang Denk
2012-04-19 18:31     ` Simon Glass
2012-04-19 18:38       ` Wolfgang Denk
2012-04-19 21:11         ` Stephen Warren
2012-04-20  2:47           ` Simon Glass
2012-04-21 14:47 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox