mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
system: TARGET_GENERIC_GETTY: allow it to be disabled
For some systems, you don't want to run any getty, so allow the option to be disabled when the empty string is used. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
d3d9d0a0f1
commit
2bb2e62a4b
@ -145,6 +145,7 @@ config BR2_TARGET_GENERIC_GETTY_PORT
|
|||||||
default "ttyS0"
|
default "ttyS0"
|
||||||
help
|
help
|
||||||
Specify a port to run a getty (login prompt) on.
|
Specify a port to run a getty (login prompt) on.
|
||||||
|
Set to the empty string to not run a getty.
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "Baudrate to use"
|
prompt "Baudrate to use"
|
||||||
|
@ -49,12 +49,15 @@ endif
|
|||||||
|
|
||||||
TARGETS += target-root-passwd
|
TARGETS += target-root-passwd
|
||||||
|
|
||||||
|
ifneq ($(TARGET_GENERIC_GETTY),)
|
||||||
ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
|
ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
|
||||||
ifeq ($(BR2_PACKAGE_SYSVINIT),y)
|
ifeq ($(BR2_PACKAGE_SYSVINIT),y)
|
||||||
TARGETS += target-generic-getty-sysvinit
|
TARGETS += target-generic-getty-sysvinit
|
||||||
else
|
else
|
||||||
TARGETS += target-generic-getty-busybox
|
TARGETS += target-generic-getty-busybox
|
||||||
endif
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y)
|
ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y)
|
||||||
TARGETS += target-generic-do-remount-rw
|
TARGETS += target-generic-do-remount-rw
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user