Skip to content

Commit

Permalink
mvebu: cortexa9: set DTS dir for 6.6
Browse files Browse the repository at this point in the history
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@gmail.com>
Signed-off-by: Stijn Segers <foss@volatilesystems.org>
  • Loading branch information
Stijn Segers committed Mar 22, 2024
1 parent 35598b3 commit 31daf32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions target/linux/mvebu/image/cortexa9.mk
Expand Up @@ -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; \
Expand Down

0 comments on commit 31daf32

Please sign in to comment.