summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorÁlvaro Fernández Rojas2024-05-10 11:39:07 +0000
committerÁlvaro Fernández Rojas2024-05-10 19:02:24 +0000
commitc45289702b900f31a60bdae995ce0d44430d487a (patch)
tree3ad2436c4b0e42afbbf6a080f9cbae7ccbd0160e
parent5a5c52085a5bd0b1b8bc629f3586c7a93dcb4460 (diff)
downloadopenwrt-c45289702b900f31a60bdae995ce0d44430d487a.tar.gz
image: add missing DTC include-prefixes directory
include-prefixes were moved to a common directory in linux v4.12, see https://github.com/torvalds/linux/commit/d5d332d3f7e8435e264a71b90178dee69428d630 This is needed for bcm27xx kernel v6.6 support. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
-rw-r--r--include/image.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/image.mk b/include/image.mk
index 284298e5ed..0dd18dbd82 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -185,6 +185,7 @@ define Image/BuildDTB/sub
-I$(DTS_DIR) \
-I$(DTS_DIR)/include \
-I$(LINUX_DIR)/include/ \
+ -I$(LINUX_DIR)/scripts/dtc/include-prefixes \
-undef -D__DTS__ $(3) \
-o $(2).tmp $(1)
$(LINUX_DIR)/scripts/dtc/dtc -O dtb \