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