From f6f8acafbbfe5a00f6613f3f418586c19ec7dbb4 Mon Sep 17 00:00:00 2001 From: hujun5 Date: Thu, 15 May 2025 19:40:20 +0800 Subject: [PATCH] arch: fix cmake error Add default values (0x0) for ARCH_TEXT_VBASE, ARCH_DATA_VBASE, and ARCH_HEAP_VBASE to resolve cmake configuration warnings when these values are not explicitly set during initialization. Signed-off-by: hujun5 --- arch/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index 7e3396308ad..a1235dc623f 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -786,16 +786,19 @@ if ARCH_ADDRENV && ARCH_NEED_ADDRENV_MAPPING config ARCH_TEXT_VBASE hex "Virtual .text base" + default 0x0 ---help--- The virtual address of the beginning the .text region config ARCH_DATA_VBASE hex "Virtual .bss/.data base" + default 0x0 ---help--- The virtual address of the beginning of the .bss/.data region. config ARCH_HEAP_VBASE hex "Virtual heap base" + default 0x0 ---help--- The virtual address of the beginning of the heap region.