From: Mark Brown Date: Thu, 8 May 2014 11:09:03 +0000 (+0100) Subject: dtc: Use general include directory X-Git-Tag: firefly_0821_release~3680^2~6^2^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=17b540de3606cf13203bb5c993477b851bdc9485;p=firefly-linux-kernel-4.4.55.git 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 --- 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