From ab18cf8327ca5b093f65d7e864e7706d75846a54 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 4 Jun 2016 18:30:47 +0200 Subject: core/pkg-generic: add support for package-defined help Add a package-variable to store the package-specific make rules. Although this variable would be seldom used, we still document it. However, we make sure the documentation explicitly states that this variable should not be used (if it needs to be, the submitter of a package will be told so during reviews). Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Thomas Petazzoni Signed-off-by: Thomas Petazzoni --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 21d63f6ef7..d77b5396cf 100644 --- a/Makefile +++ b/Makefile @@ -937,6 +937,7 @@ help: @echo ' -dirclean - Remove build directory' @echo ' -reconfigure - Restart the build from the configure step' @echo ' -rebuild - Restart the build from the build step' + $(foreach p,$(HELP_PACKAGES),$($(p)_HELP_CMDS)$(sep)) ifeq ($(BR2_PACKAGE_BUSYBOX),y) @echo ' busybox-menuconfig - Run BusyBox menuconfig' endif -- cgit v1.2.1