[openwrt/openwrt] sunxi: update the 6.6 DTS_DIR hack

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 26 02:12:07 PDT 2024


wigyori pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/4e9f0e5be49757c95ca224e549655f5f67f3f9ec

commit 4e9f0e5be49757c95ca224e549655f5f67f3f9ec
Author: Zoltan HERPAI <wigyori at uid0.hu>
AuthorDate: Fri Apr 26 11:06:17 2024 +0200

    sunxi: update the 6.6 DTS_DIR hack
    
    Update and simplify the 6.1 vs. 6.6 DTS_DIR hack until 6.1 support is gone.
    
    Signed-off-by: Zoltan HERPAI <wigyori at uid0.hu>
---
 target/linux/sunxi/image/Makefile | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/target/linux/sunxi/image/Makefile b/target/linux/sunxi/image/Makefile
index d462880e90..fc1359d173 100644
--- a/target/linux/sunxi/image/Makefile
+++ b/target/linux/sunxi/image/Makefile
@@ -34,9 +34,7 @@ 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
+ifdef CONFIG_LINUX_6_6
   SUNXI_DTS_DIR :=allwinner/
 endif
   SUNXI_DTS = $$(SUNXI_DTS_DIR)$$(SOC)-$(lastword $(subst _, ,$(1)))




More information about the lede-commits mailing list