
Linux supports this, and if we are to have compatible device tree files, U-Boot should also.
Signed-off-by: Simon Glass sjg@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