summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-09-02 01:10:34 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-10-03 14:25:52 +0200
commit6fc79762529b51bda082495f2d173c50f548d028 (patch)
tree3fc9bb956f4d5a7760c44a984b6cd57e52a153df /system
parentadf622d88e6c60ed9141f6fc085cd0d56171185c (diff)
system: use a menuconfig for the getty options
Making the getty option a menuconfig instead of a simple config automatically moves its dependees into a menu without the need to manually declare such a menu. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'system')
-rw-r--r--system/Config.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/system/Config.in b/system/Config.in
index 03521fda2..45170d8d0 100644
--- a/system/Config.in
+++ b/system/Config.in
@@ -260,12 +260,11 @@ config BR2_SYSTEM_BIN_SH
default "dash" if BR2_SYSTEM_BIN_SH_DASH
default "zsh" if BR2_SYSTEM_BIN_SH_ZSH
-config BR2_TARGET_GENERIC_GETTY
+menuconfig BR2_TARGET_GENERIC_GETTY
bool "Run a getty (login prompt) after boot"
default y
if BR2_TARGET_GENERIC_GETTY
-menu "getty options"
config BR2_TARGET_GENERIC_GETTY_PORT
string "TTY port"
default "console"
@@ -313,7 +312,6 @@ config BR2_TARGET_GENERIC_GETTY_OPTIONS
help
Any other flags you want to pass to getty,
Refer to getty --help for details.
-endmenu
endif
config BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW