Browse Source

imx: fix cortexa9/cortexa7 image builds due to dts move

The IMX device-tree's for arm moved from arch/arm/boot/dts to
arch/arm/boot/dts/nxp/imx. Use that if using the 6.6 kernel.

Signed-off-by: Tim Harvey <[email protected]>
Tim Harvey 1 year ago
parent
commit
368cd88c44
2 changed files with 6 additions and 0 deletions
  1. 3 0
      target/linux/imx/image/cortexa7.mk
  2. 3 0
      target/linux/imx/image/cortexa9.mk

+ 3 - 0
target/linux/imx/image/cortexa7.mk

@@ -10,6 +10,9 @@ define Device/Default
   KERNEL_NAME := zImage
   KERNEL_NAME := zImage
   KERNEL := kernel-bin | uImage none
   KERNEL := kernel-bin | uImage none
   KERNEL_LOADADDR := 0x80008000
   KERNEL_LOADADDR := 0x80008000
+ifdef CONFIG_LINUX_6_6
+  DTS_DIR := $(DTS_DIR)/nxp/imx
+endif
   IMAGES :=
   IMAGES :=
 endef
 endef
 
 

+ 3 - 0
target/linux/imx/image/cortexa9.mk

@@ -84,6 +84,9 @@ define Device/Default
   KERNEL_NAME := zImage
   KERNEL_NAME := zImage
   KERNEL := kernel-bin | uImage none
   KERNEL := kernel-bin | uImage none
   KERNEL_LOADADDR := 0x10008000
   KERNEL_LOADADDR := 0x10008000
+ifdef CONFIG_LINUX_6_6
+  DTS_DIR := $(DTS_DIR)/nxp/imx
+endif
   IMAGES :=
   IMAGES :=
 endef
 endef