aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-05-08 12:09:03 +0100
committerMark Brown <broonie@linaro.org>2014-05-08 12:10:16 +0100
commit17b540de3606cf13203bb5c993477b851bdc9485 (patch)
treea51c84b36e1ee21d96db2ca3ae9547546e4e4889
parent36d68d3b4dbeaa553c31d15dbd5773ce89aa38b7 (diff)
downloadlinux-linaro-stable-17b540de3606cf13203bb5c993477b851bdc9485.tar.gz
dtc: Use general include directory
Since newer DT bindings include references to include/dt-bindings we need to make this available to build DTs using them. Upstream has a number of reworkings which are much more invasive but featureful, just include a minimal fix. Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r--scripts/Makefile.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index f97869f1f09b..c4b37f6b5478 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -152,6 +152,7 @@ ld_flags = $(LDFLAGS) $(ldflags-y)
dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
-I$(srctree)/arch/$(SRCARCH)/boot/dts \
-I$(srctree)/arch/$(SRCARCH)/boot/dts/include \
+ -I$(srctree)/include \
-undef -D__DTS__
# Finds the multi-part object the current object will be linked into