[Buildroot] [PATCH 03 of 20] pkg-generic: add check on deprecated variable FOO_MAKE_OPT

Thomas De Schampheleire patrickdepinguin at gmail.com
Tue Jul 29 21:12:30 UTC 2014


This patch introduces a check for the usage of deprecated variable
FOO_MAKE_OPT, and suggests to use FOO_MAKE_OPTS instead.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>

---
 package/pkg-generic.mk |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff -r 7372c704f6a9 -r 9b89581eb95a package/pkg-generic.mk
--- a/package/pkg-generic.mk	Mon Jul 28 21:19:08 2014 +0200
+++ b/package/pkg-generic.mk	Mon Jul 28 21:28:40 2014 +0200
@@ -717,6 +717,9 @@
 	$$(eval $$(call virt-provides-single,$$(pkg),$$(call UPPERCASE,$$(pkg)),$(1))$$(sep)))
 endif
 
+# Ensure unified variable name conventions between all packages
+$(eval $(call check-deprecated-variable,$(2)_MAKE_OPT,$(2)_MAKE_OPTS))
+
 TARGETS += $(1)
 
 ifneq ($$($(2)_PERMISSIONS),)



More information about the buildroot mailing list