[openwrt/openwrt] image: add missing DTC include-prefixes directory

LEDE Commits lede-commits at lists.infradead.org
Fri May 10 12:03:50 PDT 2024


noltari pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/c45289702b900f31a60bdae995ce0d44430d487a

commit c45289702b900f31a60bdae995ce0d44430d487a
Author: Álvaro Fernández Rojas <noltari at gmail.com>
AuthorDate: Fri May 10 13:39:07 2024 +0200

    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 at gmail.com>
---
 include/image.mk | 1 +
 1 file changed, 1 insertion(+)

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 \




More information about the lede-commits mailing list