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>
KERNEL := kernel-bin | uImage none
IMAGES := sdcard.img.gz
IMAGE/sdcard.img.gz := sunxi-sdcard | append-metadata | gzip
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)))
SUNXI_DTS_DIR :=allwinner/
endif
SUNXI_DTS = $$(SUNXI_DTS_DIR)$$(SOC)-$(lastword $(subst _, ,$(1)))