summaryrefslogtreecommitdiffstats
path: root/target/generic/Config.in
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-05-12 17:15:36 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-05-12 17:21:06 +0200
commit7d9d09db673abbedc1cc865c213b742e0450268d (patch)
tree43d87d5cfbfbd30d95208f41215e0e26d3e315ef /target/generic/Config.in
parent5db57b7ac9fc8c5bd0bec6e06166443f04870a3a (diff)
downloadbuildroot-novena-7d9d09db673abbedc1cc865c213b742e0450268d.tar.gz
buildroot-novena-7d9d09db673abbedc1cc865c213b742e0450268d.zip
target/generic: only show getty port option if default skeleton is used
The special marker in etc/inittab might not be present with a custom skeleton. At the same time make the option always active, remove the hardcoded tty1/tty2 gettys and reword the option description slightly. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'target/generic/Config.in')
-rw-r--r--target/generic/Config.in9
1 files changed, 3 insertions, 6 deletions
diff --git a/target/generic/Config.in b/target/generic/Config.in
index c624ba872..2d2ad4423 100644
--- a/target/generic/Config.in
+++ b/target/generic/Config.in
@@ -12,13 +12,10 @@ config BR2_TARGET_GENERIC_ISSUE
help
Select system banner (/etc/issue) to be displayed at login.
-menuconfig BR2_TARGET_GENERIC_GETTY
- bool "Generic serial port config"
-
-if BR2_TARGET_GENERIC_GETTY
+if BR2_ROOTFS_SKELETON_DEFAULT
config BR2_TARGET_GENERIC_GETTY_PORT
- string "Serial port to run a getty on"
+ string "Port to run a getty (login prompt) on"
default "ttyS0"
help
Specify a port to run a getty (login prompt) on.
@@ -52,6 +49,6 @@ config BR2_TARGET_GENERIC_GETTY_BAUDRATE
default "57600" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_57600
default "115200" if BR2_TARGET_GENERIC_GETTY_BAUDRATE_115200
-endif # BR2_TARGET_GENERIC_GETTY
+endif # BR2_ROOTFS_SKELETON_DEFAULT
endmenu