From 4b2a40b6d7d6ce9a892c6230e3b41e8e0b252896 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 6 Jan 2013 21:51:05 +0100 Subject: [PATCH] system: simplify BR2_ROOTFS_SKELETON_DEFAULT handling No functional change. Signed-off-by: Peter Korsgaard --- system/system.mk | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) 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) -- 2.30.2