aboutsummaryrefslogtreecommitdiff
path: root/system/system.mk
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-01-04 21:39:05 +0100
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2013-01-04 21:39:05 +0100
commit2bb2e62a4b90e13d0ae21472491bdea72cd982d6 (patch)
tree33b4bd2e5da3491aa7e9a80a81767697609a8e98 /system/system.mk
parentd3d9d0a0f1ccfbd551802dbd40c9a201b4bab27f (diff)
downloadbuildroot-2bb2e62a4b90e13d0ae21472491bdea72cd982d6.tar.gz
buildroot-2bb2e62a4b90e13d0ae21472491bdea72cd982d6.tar.bz2
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>
Diffstat (limited to 'system/system.mk')
-rw-r--r--system/system.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/system.mk b/system/system.mk
index 7536ce649e..3c4d06e69c 100644
--- a/system/system.mk
+++ b/system/system.mk
@@ -49,12 +49,15 @@ endif
TARGETS += target-root-passwd
+ifneq ($(TARGET_GENERIC_GETTY),)
ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
ifeq ($(BR2_PACKAGE_SYSVINIT),y)
TARGETS += target-generic-getty-sysvinit
else
TARGETS += target-generic-getty-busybox
endif
+endif
+
ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y)
TARGETS += target-generic-do-remount-rw
else