Patchwork [6,of,7] busybox: only add kconfig targets if uclibc is enabled

login
register
mail settings
Submitter Thomas De Schampheleire
Date July 24, 2014, 5:49 p.m.
Message ID <01c5523b5777c0dc5a3b.1406224173@localhost>
Download mbox | patch
Permalink /patch/373480/
State Superseded
Headers show

Comments

Thomas De Schampheleire - July 24, 2014, 5:49 p.m.
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@gmail.com>

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

Patch

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