From fe4bf8bdb4cc744bc31972c763cf6a810eb7aeba Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Sun, 5 Jan 2025 01:18:23 +0100 Subject: target: config: Newer kernels moved DTB files They moved in commit 724ba67515320 ("ARM: dts: Move .dts files to vendor sub-directories"), try to cover for it. Signed-off-by: Phil Sutter --- target/config/Config.in.kernelfmt | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'target/config') diff --git a/target/config/Config.in.kernelfmt b/target/config/Config.in.kernelfmt index 2a1fb1e9f..b80853385 100644 --- a/target/config/Config.in.kernelfmt +++ b/target/config/Config.in.kernelfmt @@ -84,6 +84,25 @@ config ADK_TARGET_KERNEL_LOADADDR default 0x40008000 if ADK_TARGET_SYSTEM_ORANGE_PI0 default 0xc0008000 if ADK_TARGET_SYSTEM_ST_STM32F746G +config ADK_TARGET_KERNEL_VENDORED_DTB + bool + default y + default n if ADK_TARGET_LINUX_KERNEL_VERSION_6_1 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_5_15 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_5_10 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_5_4 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_19 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_14 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_9 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_4_4 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_3_16 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_3_4 + default n if ADK_TARGET_LINUX_KERNEL_VERSION_2_6_32 + help + Starting with linux-6.5, DTB files sit in vendor-specific + sub-directories. + config ADK_TARGET_KERNEL_APPEND_DTB string - default "armada-xp-synology-ds414" if ADK_TARGET_SYSTEM_SYNOLOGY_DS414 + default "armada-xp-synology-ds414" if ADK_TARGET_SYSTEM_SYNOLOGY_DS414 && !ADK_TARGET_KERNEL_VENDORED_DTB + default "marvell/armada-xp-synology-ds414" if ADK_TARGET_SYSTEM_SYNOLOGY_DS414 && ADK_TARGET_KERNEL_VENDORED_DTB -- cgit v1.2.3