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 <wigyori@uid0.hu>
This commit is contained in:
Zoltan HERPAI 2024-04-17 13:48:41 +02:00
parent 9122474226
commit 82df12e98a

View File

@ -34,7 +34,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