summaryrefslogtreecommitdiffstats
path: root/package/pkg-generic.mk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2014-10-05 11:35:14 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-10-05 13:38:41 +0200
commit5401ccaf6d06f3140df45f70cd9746de7f870125 (patch)
tree1e7fd3cfbf57e9c65b4dcb95bf1ff25e6b7f8e5a /package/pkg-generic.mk
parent2dc51b7c4da119de9a5dd4d7fea1fc9053eb7925 (diff)
downloadbuildroot-5401ccaf6d06f3140df45f70cd9746de7f870125.tar.gz
buildroot-5401ccaf6d06f3140df45f70cd9746de7f870125.zip
package-infra: comment why all checks are done in pkg-generic
[Thomas: fix duplicate -> duplicating.] Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/pkg-generic.mk')
-rw-r--r--package/pkg-generic.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index ec8afdd9bc..f09f83e6e1 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -702,7 +702,11 @@ $$(foreach pkg,$$($(2)_PROVIDES),\
$$(eval $$(call virt-provides-single,$$(pkg),$$(call UPPERCASE,$$(pkg)),$(1))$$(sep)))
endif
-# Ensure unified variable name conventions between all packages
+# Ensure unified variable name conventions between all packages Some
+# of the variables are used by more than one infrastructure; so,
+# rather than duplicating the checks in each infrastructure, we check
+# all variables here in pkg-generic, even though pkg-generic should
+# have no knowledge of infra-specific variables.
$(eval $(call check-deprecated-variable,$(2)_MAKE_OPT,$(2)_MAKE_OPTS))
$(eval $(call check-deprecated-variable,$(2)_INSTALL_OPT,$(2)_INSTALL_OPTS))
$(eval $(call check-deprecated-variable,$(2)_INSTALL_TARGET_OPT,$(2)_INSTALL_TARGET_OPTS))
OpenPOWER on IntegriCloud