Browse Source

mxs: adjust DTS path for 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 year ago
parent
commit
38dc19828d
1 changed files with 3 additions and 0 deletions
  1. 3 0
      target/linux/mxs/image/Makefile

+ 3 - 0
target/linux/mxs/image/Makefile

@@ -39,6 +39,9 @@ define Device/Default
   KERNEL_NAME := zImage
   KERNEL := kernel-bin | uImage none
   IMAGES := sdcard.img.gz
+ifneq ($(KERNEL),6.1)
+  DTS_DIR := $(DTS_DIR)/nxp/mxs
+endif
   DEVICE_DTS = $$(SOC)-$(lastword $(subst _, ,$(1)))
 endef