summaryrefslogtreecommitdiff
path: root/target/config/Config.in.runtime
diff options
context:
space:
mode:
Diffstat (limited to 'target/config/Config.in.runtime')
-rw-r--r--target/config/Config.in.runtime42
1 files changed, 28 insertions, 14 deletions
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index a459940d6..721f623de 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -37,27 +37,41 @@ config ADK_RUNTIME_TIMEZONE
Predefine the timezone for the embedded system.
choice
-prompt "Console output on embedded system"
-default ADK_RUNTIME_CONSOLE_BOTH if ADK_TARGET_WITH_VGA || ADK_TARGET_QEMU_WITH_GRAPHIC && !ADK_TARGET_SYSTEM_RASPBERRY_PI && !ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-default ADK_RUNTIME_CONSOLE_VGA if ADK_TARGET_SYSTEM_RASPBERRY_PI || ADK_TARGET_SYSTEM_LEMOTE_YEELONG
-default ADK_RUNTIME_CONSOLE_SERIAL
+prompt "Start getty or shell after bootup"
+default ADK_RUNTIME_GETTY
-config ADK_RUNTIME_CONSOLE_VGA
- bool "console output on VGA"
+config ADK_RUNTIME_GETTY
+ boolean "start a getty after bootup"
help
- Start getty on VGA console. (tty1-tty6)
+ Start a getty after bootup.
-config ADK_RUNTIME_CONSOLE_SERIAL
- bool "console output on serial"
+config ADK_RUNTIME_SHELL
+ boolean "start a shell after bootup"
help
- Start getty on serial console.
+ Start a shell after bootup
+
+endchoice
-config ADK_RUNTIME_CONSOLE_BOTH
- bool "console output on VGA and serial"
+config ADK_RUNTIME_GETTY_VGA
+ boolean "start getty on VGA console (tty1-tty6)"
+ depends on ADK_RUNTIME_GETTY
+ default y if ADK_TARGET_QEMU_WITH_GRAPHIC
+ default y if ADK_TARGET_SYSTEM_RASPBERRY_PI
+ default y if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+ default y if ADK_TARGET_SYSTEM_IBM_X40
+ default n
help
- Start getty on VGA console and serial device.
+ Start getty on VGA console. (tty1-tty6)
-endchoice
+config ADK_RUNTIME_GETTY_SERIAL
+ boolean "start getty on serial console"
+ depends on ADK_RUNTIME_GETTY
+ default n if ADK_TARGET_SYSTEM_RASPBERRY_PI
+ default n if ADK_TARGET_SYSTEM_LEMOTE_YEELONG
+ default n if ADK_TARGET_SYSTEM_IBM_X40
+ default y
+ help
+ Start getty on serial console.
config ADK_RUNTIME_CONSOLE_SERIAL_DEVICE
string