summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZoltan HERPAI2024-04-26 09:06:17 +0000
committerZoltan HERPAI2024-04-26 09:07:43 +0000
commit4e9f0e5be49757c95ca224e549655f5f67f3f9ec (patch)
treecffef6d53254a47cdb0427ca41e25fdf0a7e666c
parent7ebcf2fb9c5db8b75666761f5e767c91abb1f437 (diff)
downloadopenwrt-4e9f0e5be49757c95ca224e549655f5f67f3f9ec.tar.gz
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@uid0.hu>
-rw-r--r--target/linux/sunxi/image/Makefile4
1 files changed, 1 insertions, 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)))