sunxi: update the 6.6 DTS_DIR hack
[openwrt/staging/pepe2k.git] / target / linux / sunxi / image / Makefile
index d462880e904e6579338a375ada910433ffe8b9bf..fc1359d173cf1281c97fc58161d375d69d760880 100644 (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)))