From 17b540de3606cf13203bb5c993477b851bdc9485 Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Thu, 8 May 2014 12:09:03 +0100 Subject: [PATCH] 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 --- scripts/Makefile.lib | 1 + 1 file changed, 1 insertion(+) 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 -- 2.34.1