[PATCH master 3/3] sandbox: add simpleconsole_defconfig

Ahmad Fatoum a.fatoum at pengutronix.de
Mon Sep 1 07:12:57 PDT 2025


We only tested in CI the build with hush and full console and the
headless build with neither. Missing is a build with a simple console
and a simple shell, so breakage in the simple console went unnoticed.

Add a new configuration, so CI can test it.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 arch/sandbox/Makefile                      | 4 +++-
 common/boards/configs/simpleconsole.config | 2 ++
 2 files changed, 5 insertions(+), 1 deletion(-)
 create mode 100644 common/boards/configs/simpleconsole.config

diff --git a/arch/sandbox/Makefile b/arch/sandbox/Makefile
index f9d79e9a7d15..55b8ca1780df 100644
--- a/arch/sandbox/Makefile
+++ b/arch/sandbox/Makefile
@@ -3,13 +3,15 @@
 KBUILD_DEFCONFIG := sandbox_defconfig
 
 generated_configs += headless_defconfig noshell_defconfig lockdown_defconfig \
-		     libfuzzer_defconfig
+		     simpleconsole_defconfig libfuzzer_defconfig
 headless_defconfig:
 	$(call merge_into_defconfig,sandbox_defconfig,headless)
 noshell_defconfig:
 	$(call merge_into_defconfig,sandbox_defconfig,noshell)
 lockdown_defconfig:
 	$(call merge_into_defconfig,sandbox_defconfig,headless noshell)
+simpleconsole_defconfig:
+	$(call merge_into_defconfig,sandbox_defconfig,simpleconsole)
 libfuzzer_defconfig:
 	$(call merge_into_defconfig,sandbox_defconfig,libfuzzer)
 
diff --git a/common/boards/configs/simpleconsole.config b/common/boards/configs/simpleconsole.config
new file mode 100644
index 000000000000..1ac5f27a9644
--- /dev/null
+++ b/common/boards/configs/simpleconsole.config
@@ -0,0 +1,2 @@
+CONFIG_CONSOLE_SIMPLE=y
+CONFIG_SHELL_SIMPLE=y
-- 
2.47.2




More information about the barebox mailing list