[PATCH 2/2] sandbox: move sandbox-specific options into menu

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Oct 9 04:52:01 PDT 2023


The two sandbox related options are shown in the top-level menu.
Move them into an architecture-specific menu instead as done for other
architectures.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/sandbox/Kconfig | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)

diff --git a/arch/sandbox/Kconfig b/arch/sandbox/Kconfig
index 31c4484cf1ef..88da35a955ee 100644
--- a/arch/sandbox/Kconfig
+++ b/arch/sandbox/Kconfig
@@ -23,12 +23,7 @@ config ARCH_TEXT_BASE
 	hex
 	default 0x00000000
 
-config SANDBOX_REEXEC
-	prompt "exec(2) reset handler"
-	def_bool y
-	help
-	  The normal reset handler hangs barebox. On Linux, barebox
-	  instead can exec itself to simulate a reset.
+menu "Sandbox specific settings"
 
 config PHYS_ADDR_T_64BIT
 	bool
@@ -52,5 +47,14 @@ config 32BIT
 config SANDBOX_LINUX_I386
 	bool "32-bit x86 barebox" if CC_HAS_LINUX_I386_SUPPORT
 
+config SANDBOX_REEXEC
+	prompt "exec(2) reset handler"
+	def_bool y
+	help
+	  The normal reset handler hangs barebox. On Linux, barebox
+	  instead can exec itself to simulate a reset.
+
 config SDL
 	bool
+
+endmenu
-- 
2.39.2




More information about the barebox mailing list