瀏覽代碼

mvebu: cortexa9: set DTS dir for 6.6

With 6.6, all DTSes were moved to their vendor subdirectories. ARM64
DTSes already used this scheme, but 32 bit Cortex A9 did not, prior
to 6.6. Introduce a kernel version check to keep backward compatibility
with 6.1.

Suggested-by: Robert Marko <[email protected]>
Signed-off-by: Stijn Segers <[email protected]>
Stijn Segers 1 年之前
父節點
當前提交
ab2fe43163
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      target/linux/mvebu/image/cortexa9.mk

+ 4 - 0
target/linux/mvebu/image/cortexa9.mk

@@ -3,6 +3,10 @@
 # Copyright (C) 2012-2016 OpenWrt.org
 # Copyright (C) 2016 LEDE-project.org
 
+ifneq ($(KERNEL),6.1)
+DTS_DIR := $(DTS_DIR)/marvell
+endif
+
 define Build/fortigate-header
   ( \
     dd if=/dev/zero bs=384 count=1 2>/dev/null; \