[Buildroot] [PATCH 6 of 7] busybox: only add kconfig targets if uclibc is enabled

Thomas De Schampheleire patrickdepinguin at gmail.com
Thu Jul 24 17:49:33 UTC 2014


In analogy of linux.mk, only enable the kconfig targets (menuconfig,
update-config, ...) when the busybox package is actually enabled.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>

---
 package/busybox/busybox.mk |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff -r a850aa264c3d -r 01c5523b5777 package/busybox/busybox.mk
--- a/package/busybox/busybox.mk	Tue Jul 22 20:43:10 2014 +0200
+++ b/package/busybox/busybox.mk	Wed Jul 23 20:13:38 2014 +0200
@@ -224,8 +224,12 @@
 
 $(eval $(generic-package))
 
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
+
 BUSYBOX_KCONFIG_FILE = $(BUSYBOX_CONFIG_FILE)
 BUSYBOX_KCONFIG_EDITORS = menuconfig xconfig gconfig
 BUSYBOX_KCONFIG_OPT = $(BUSYBOX_MAKE_OPTS)
 
 $(eval $(kconfig-package))
+
+endif


More information about the buildroot mailing list