summaryrefslogtreecommitdiffstats
path: root/package/pkg-generic.mk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2016-06-04 18:30:47 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-06-07 21:36:04 +0200
commitab18cf8327ca5b093f65d7e864e7706d75846a54 (patch)
tree1f814894035ec132f6a8f65d4690a3326afed5c7 /package/pkg-generic.mk
parentcc1411d0b1b159e208d141fb4ba3c6f3508e1336 (diff)
downloadbuildroot-ab18cf8327ca5b093f65d7e864e7706d75846a54.tar.gz
buildroot-ab18cf8327ca5b093f65d7e864e7706d75846a54.zip
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" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-generic.mk')
-rw-r--r--package/pkg-generic.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index b03187956e..374d9d56c9 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -914,6 +914,10 @@ ifeq ($$(patsubst %/,ERROR,$$($(2)_SITE)),ERROR)
$$(error $(2)_SITE ($$($(2)_SITE)) cannot have a trailing slash)
endif
+ifneq ($$($(2)_HELP_CMDS),)
+HELP_PACKAGES += $(2)
+endif
+
endif # $(2)_KCONFIG_VAR
endef # inner-generic-package
OpenPOWER on IntegriCloud