[openwrt/openwrt] mvebu: cortexa9: set DTS dir for 6.6
LEDE Commits
lede-commits at lists.infradead.org
Wed Apr 3 08:50:02 PDT 2024
robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/ab2fe43163ed76bfa10b53043982bb6443e362e6
commit ab2fe43163ed76bfa10b53043982bb6443e362e6
Author: Stijn Segers <foss at volatilesystems.org>
AuthorDate: Tue Mar 19 22:55:11 2024 +0100
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 <robimarko at gmail.com>
Signed-off-by: Stijn Segers <foss at volatilesystems.org>
---
target/linux/mvebu/image/cortexa9.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/target/linux/mvebu/image/cortexa9.mk b/target/linux/mvebu/image/cortexa9.mk
index d97509f4d6..270c631474 100644
--- a/target/linux/mvebu/image/cortexa9.mk
+++ b/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; \
More information about the lede-commits
mailing list