[U-Boot] [RFC PATCH v2 04/13] Makefile: Support include files for .dts files
Simon Glass
sjg at chromium.org
Mon May 5 18:09:01 CEST 2014
Linux supports this, and if we are to have compatible device tree files,
U-Boot should also.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
Changes in v2:
- Add new patch to support include files for .dts files
scripts/Makefile.lib | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index a04439d..10358ba 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -153,6 +153,7 @@ ld_flags = $(LDFLAGS) $(ldflags-y)
# Modified for U-Boot
dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
-I$(srctree)/arch/$(ARCH)/dts \
+ -I$(srctree)/include \
-undef -D__DTS__
# Finds the multi-part object the current object will be linked into
--
1.9.1.423.g4596e3a
More information about the U-Boot
mailing list