[Buildroot] [PATCH] Don't run target-generic-getty* if none selected
ANDY KENNEDY
ANDY.KENNEDY at adtran.com
Thu Aug 11 15:19:58 UTC 2011
If the string text is "" for the default getty, don't run that target.
Signed-off-by: Andy Kennedy <Andy.Kennedy at Adtran.com>
---
diff -Naur -x output a/target/generic/Makefile.in b/target/generic/Makefile.in
--- a/target/generic/Makefile.in 2011-07-29 06:38:49.000000000 -0500
+++ b/target/generic/Makefile.in 2011-08-11 10:13:23.000000000 -0500
@@ -40,11 +40,13 @@
endif
ifeq ($(BR2_ROOTFS_SKELETON_DEFAULT),y)
+ifneq ($(BR2_TARGET_GENERIC_GETTY_PORT),"")
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
More information about the buildroot
mailing list