diff mbox

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

Message ID 469e4493e128111baaf2.1406750287@localhost
State Superseded
Headers show

Commit Message

Thomas De Schampheleire July 30, 2014, 7:58 p.m. UTC
In analogy of linux.mk, only enable its targets, in particular 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 |  2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Comments

Yann E. MORIN July 31, 2014, 9:12 p.m. UTC | #1
Thomas, All,

On 2014-07-30 21:58 +0200, Thomas De Schampheleire spake thusly:
> In analogy of linux.mk, only enable its targets, in particular the kconfig
> targets (menuconfig, update-config, ...) when the busybox package is
> actually enabled.
> 
> Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>

Typo in subject:
    busybox: only add kconfig targets if uclibc is enabled

s/uclibc/busybox/

Otherwise:
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  package/busybox/busybox.mk |  2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff -r f995a8adfa24 -r 469e4493e128 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
> @@ -226,4 +226,6 @@
>  	$(BUSYBOX_INSTALL_WATCHDOG_SCRIPT)
>  endef
>  
> +ifeq ($(BR2_PACKAGE_BUSYBOX),y)
>  $(eval $(kconfig-package))
> +endif
> _______________________________________________
> buildroot mailing list
> buildroot@busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
diff mbox

Patch

diff -r f995a8adfa24 -r 469e4493e128 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
@@ -226,4 +226,6 @@ 
 	$(BUSYBOX_INSTALL_WATCHDOG_SCRIPT)
 endef
 
+ifeq ($(BR2_PACKAGE_BUSYBOX),y)
 $(eval $(kconfig-package))
+endif