sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig
PATCH 1/1 sandbox: Migrate ARCH_MAP_SYSMEM to Kconfig
Move this from a hard-coded define in config.mk to Kconfig.
Signed-off-by Tom Rini <[email protected]>
--- arch/sandbox/Kconfig | 3 +++ arch/sandbox/config.mk | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
arch/sandbox/Kconfig +3 -0
@@ -1,6 +1,9 @@ menu "Sandbox architecture" depends on SANDBOX +config ARCH_MAP_SYSMEM + def_bool y + config SYS_ARCH default "sandbox"
arch/sandbox/config.mk +0 -1
@@ -2,7 +2,6 @@ # Copyright (c) 2011 The Chromium OS Authors. PLATFORM_CPPFLAGS += -D__SANDBOX__ -U_FORTIFY_SOURCE -PLATFORM_CPPFLAGS += -DCONFIG_ARCH_MAP_SYSMEM PLATFORM_CPPFLAGS += -fPIC PLATFORM_LIBS += -lrt SDL_CONFIG ?= sdl2-config
Signature · 1 line
2.25.1
Quoted 8 lines · Tom Rini
Move this from a hard-coded define in config.mk to
Kconfig.Signed-off-by Tom Rini <[email protected]>--- arch/sandbox/Kconfig | 3 +++ arch/sandbox/config.mk | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
Simon Glass
Reviewed-byQuoted 8 lines · Tom Rini
Move this from a hard-coded define in config.mk to
Kconfig.Signed-off-by Tom Rini <[email protected]>--- arch/sandbox/Kconfig | 3 +++ arch/sandbox/config.mk | 1 - 2 files changed, 3 insertions(+), 1 deletion(-)
Reviewed-by Simon Glass <[email protected]>
Applied to u-boot-dm, thanks!