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>
This commit is contained in:
Zoltan HERPAI 2024-04-26 11:06:17 +02:00
parent 7ebcf2fb9c
commit 4e9f0e5be4
1 changed files with 1 additions and 3 deletions

View File

@ -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)))