package/busybox: use the generic help rules
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 4 Jun 2016 16:30:50 +0000 (18:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 7 Jun 2016 19:56:34 +0000 (21:56 +0200)
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Arnout Vandecappelle <arnout@mind.be>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: don't use a helper.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Makefile
package/busybox/busybox.mk

index 65f5a65d4a2af26cd9d4e306f23736d445e4e1f5..f5ae613a554a49e97ed08ce7f4ab18b7853da87e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -941,9 +941,6 @@ help:
                @echo $(sep) \
                @echo '$($(p)_NAME):' $(sep) \
                $($(p)_HELP_CMDS)$(sep))
-ifeq ($(BR2_PACKAGE_BUSYBOX),y)
-       @echo '  busybox-menuconfig     - Run BusyBox menuconfig'
-endif
 ifeq ($(BR2_LINUX_KERNEL),y)
        @echo '  linux-menuconfig       - Run Linux kernel menuconfig'
        @echo '  linux-savedefconfig    - Run Linux kernel savedefconfig'
index c7fb8b41e6c96d13e3c7e76fb5f2f1b1b01c2ba4..08d8e6407095fb4c73d00414695345e4f5a4b725 100644 (file)
@@ -10,6 +10,10 @@ BUSYBOX_SOURCE = busybox-$(BUSYBOX_VERSION).tar.bz2
 BUSYBOX_LICENSE = GPLv2
 BUSYBOX_LICENSE_FILES = LICENSE
 
+define BUSYBOX_HELP_CMDS
+       @echo '  busybox-menuconfig     - Run BusyBox menuconfig'
+endef
+
 BUSYBOX_CFLAGS = \
        $(TARGET_CFLAGS)