From: Álvaro Fernández Rojas Date: Fri, 10 May 2024 11:39:07 +0000 (+0200) Subject: image: add missing DTC include-prefixes directory X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c45289702b900f31a60bdae995ce0d44430d487a;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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 \