aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2014-05-08 12:09:03 +0100
committerShow Liu <show.liu@linaro.org>2014-06-18 12:01:50 +0800
commit625f3e66fb48ff5f8d2d5743a1163671bfbae2be (patch)
treed306179707b29aef34482aae2422af8e36a4bf16 /scripts
parent83a51d98b4fdd03f1cd08044f8b671b9918f72a8 (diff)
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> (cherry picked from lsk commit 17b540de3606cf13203bb5c993477b851bdc9485) Signed-off-by: Alex Shi <alex.shi@linaro.org> Conflicts: scripts/Makefile.lib
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
index 85c0e97b223..8fb9ac13146 100644
--- a/scripts/Makefile.lib
+++ b/scripts/Makefile.lib
@@ -153,6 +153,7 @@ dtc_cpp_flags = -Wp,-MD,$(depfile).pre.tmp -nostdinc \
-I$(srctree)/arch/$(SRCARCH)/boot/dts \
-I$(srctree)/arch/$(SRCARCH)/boot/dts/include \
-I$(srctree)/drivers/of/testcase-data \
+ -I$(srctree)/include \
-undef -D__DTS__
# Finds the multi-part object the current object will be linked into