From 2b3bd34a82c6238a9612cf45b8b8730ca0c3c2be Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Mon, 1 Nov 2021 12:35:37 +0100 Subject: mk: Generalize kernel loadaddr Introduce ADK_TARGET_KERNEL_LOADADDR symbol holding the right kernel loadaddr depending on chosen target system instead of hard-coding the value into kernel-vars.mk. Signed-off-by: Phil Sutter --- target/config/Config.in.kernelfmt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'target/config') diff --git a/target/config/Config.in.kernelfmt b/target/config/Config.in.kernelfmt index f1d503e23..bf35f6ba4 100644 --- a/target/config/Config.in.kernelfmt +++ b/target/config/Config.in.kernelfmt @@ -63,3 +63,8 @@ config ADK_TARGET_KERNEL config ADK_TARGET_KERNEL_WITH_COMPRESSION bool + +config ADK_TARGET_KERNEL_LOADADDR + hex + default 0x40008000 if ADK_TARGET_SYSTEM_BANANA_PRO + default 0x40008000 if ADK_TARGET_SYSTEM_ORANGE_PI0 -- cgit v1.2.3