From: Yann E. MORIN Date: Sat, 4 Jun 2016 16:30:50 +0000 (+0200) Subject: package/busybox: use the generic help rules X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f4f9c7440d589f7e68a61ae1771ac84be100dd4;p=buildroot.git package/busybox: use the generic help rules Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Thomas Petazzoni [Thomas: don't use a helper.] Signed-off-by: Thomas Petazzoni --- diff --git a/Makefile b/Makefile index 65f5a65d4a..f5ae613a55 100644 --- 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' diff --git a/package/busybox/busybox.mk b/package/busybox/busybox.mk index c7fb8b41e6..08d8e64070 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -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)