diff mbox series

[LEDE-DEV] include: Include new location for DT bindings

Message ID 20171010034802.26341-1-f.fainelli@gmail.com
State Accepted
Delegated to: Florian Fainelli
Headers show
Series [LEDE-DEV] include: Include new location for DT bindings | expand

Commit Message

Florian Fainelli Oct. 10, 2017, 3:48 a.m. UTC
Starting with commit d5d332d3f7e8 ("devicetree: Move include prefixes
from arch to separate directory") included in 4.12 and newer relocated
the dt-bindings directory, so account for that while passing CPPFLAGS
before DTC runs.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
---
 include/image.mk | 1 +
 1 file changed, 1 insertion(+)

Comments

Florian Fainelli Oct. 24, 2017, 1:47 a.m. UTC | #1
Le 10/09/17 à 20:48, Florian Fainelli a écrit :
> Starting with commit d5d332d3f7e8 ("devicetree: Move include prefixes
> from arch to separate directory") included in 4.12 and newer relocated
> the dt-bindings directory, so account for that while passing CPPFLAGS
> before DTC runs.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>

Applied
diff mbox series

Patch

diff --git a/include/image.mk b/include/image.mk
index 3f5b4544e9e3..fc6bf06e96be 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -161,6 +161,7 @@  define Image/BuildDTB
 	$(TARGET_CROSS)cpp -nostdinc -x assembler-with-cpp \
 		-I$(DTS_DIR) \
 		-I$(DTS_DIR)/include \
+		-I$(LINUX_DIR)/include/ \
 		-undef -D__DTS__ $(3) \
 		-o $(2).tmp $(1)
 	$(LINUX_DIR)/scripts/dtc/dtc -O dtb \