summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-01-06 21:51:05 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-06 21:52:18 +0100
commit4b2a40b6d7d6ce9a892c6230e3b41e8e0b252896 (patch)
treedcad2a8c62dc656bf6c431a2b82b5349eca0fe3a
parent72defc45dd7cb3f75f2cb2669225084293a5d9cb (diff)
downloadbuildroot-novena-4b2a40b6d7d6ce9a892c6230e3b41e8e0b252896.tar.gz
buildroot-novena-4b2a40b6d7d6ce9a892c6230e3b41e8e0b252896.zip
system: simplify BR2_ROOTFS_SKELETON_DEFAULT handling
No functional change. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--system/system.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/system/system.mk b/system/system.mk
index 4e131b082..44a33ae61 100644
--- a/system/system.mk
+++ b/system/system.mk
@@ -50,15 +50,9 @@ endif
ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
TARGETS += target-root-passwd
-endif
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
+TARGETS += target-generic-getty-$(if $(BR2_PACKAGE_SYSVINIT),sysvinit,busybox)
endif
ifeq ($(BR2_TARGET_GENERIC_REMOUNT_ROOTFS_RW),y)