Просмотр исходного кода

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 <[email protected]>
Zoltan HERPAI 1 год назад
Родитель
Сommit
82df12e98a
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      target/linux/sunxi/image/Makefile

+ 4 - 0
target/linux/sunxi/image/Makefile

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