at91: 6.6: change dts files location
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sat, 3 Aug 2024 13:58:04 +0000 (15:58 +0200)
committerNick Hainke <vincent@systemli.org>
Tue, 17 Sep 2024 15:31:25 +0000 (17:31 +0200)
Change dts files location to subfolder microchip for compatibility with kernel 6.6

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16058
Signed-off-by: Nick Hainke <vincent@systemli.org>
target/linux/at91/image/Makefile

index e17e4d6a5262cd07b5ffe4dfcbc3559fc5c15656..aba95fde910d3715951ab9188e85e77520d5b66d 100644 (file)
@@ -19,6 +19,9 @@ FAT32_BLOCKS:=$(shell echo \
   $$(($(AT91_SD_BOOT_PARTSIZE)*1024*1024/$(FAT32_BLOCK_SIZE))))
 
 define Device/Default
+  ifdef CONFIG_LINUX_6_6
+       DEVICE_DTS_DIR := $(DTS_DIR)/microchip
+  endif
   $(Device/default-nand)
   PROFILES := Default
   FILESYSTEMS := squashfs ubifs ext4