From: Peter Korsgaard Date: Sun, 6 Jan 2013 20:51:05 +0000 (+0100) Subject: system: simplify BR2_ROOTFS_SKELETON_DEFAULT handling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b2a40b6d7d6ce9a892c6230e3b41e8e0b252896;p=buildroot.git system: simplify BR2_ROOTFS_SKELETON_DEFAULT handling No functional change. Signed-off-by: Peter Korsgaard --- diff --git a/system/system.mk b/system/system.mk index 4e131b0821..44a33ae618 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)