diff options
author | Simon Glass <sjg@chromium.org> | 2014-06-12 09:29:44 +0400 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-06-20 21:55:03 +0400 |
commit | 5957ac2a9f668370bfcd9e5520de4bde346878a4 (patch) | |
tree | 3278a20619dfbfe5f988dfc298196e19a5c45866 /scripts | |
parent | 42d3b29d9ea7d93da4bae7058711c56b12ebf23c (diff) | |
download | u-boot-5957ac2a9f668370bfcd9e5520de4bde346878a4.tar.xz |
Makefile: Support include files for .dts files
Linux supports this, and if we are to have compatible device tree files,
U-Boot should also.
Avoid giving the device tree files access to U-Boot's include/ directory.
Only include/dt-bindings is accessible.
Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.lib | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index c24c5e868a..968123cfda 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)/arch/$(ARCH)/dts/include \ -undef -D__DTS__ # Finds the multi-part object the current object will be linked into |