From 77fe893b83fdbc019aec623d2f74fa3f0136e5ec Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Fri, 8 Mar 2024 15:29:37 +0100 Subject: [PATCH] sunxi: update image Makefile to reflect updated DTS structure in 6.6 For the ARM arch on 6.6, DTS files are moved into their vendor directories, mimicking arm64. Reflect this in the image Makefile. Signed-off-by: Zoltan HERPAI --- target/linux/sunxi/image/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile index 738585accc..1a12e6785d 100644 --- a/target/linux/sunxi/image/Makefile +++ b/target/linux/sunxi/image/Makefile @@ -35,7 +35,11 @@ define Device/Default KERNEL := kernel-bin | uImage none IMAGES := sdcard.img.gz IMAGE/sdcard.img.gz := sunxi-sdcard | append-metadata | gzip +ifneq ($(LINUX_6_1),) SUNXI_DTS_DIR := +else + SUNXI_DTS_DIR :=allwinner/ +endif SUNXI_DTS = $$(SUNXI_DTS_DIR)$$(SOC)-$(lastword $(subst _, ,$(1))) endef -- 2.30.2