package/pkg-generic: add check for deprecated _INSTALL_HOST_OPTS
Commit "f6fe8932df pkg-generic: add checks on deprecated variables FOO_BAR_OPT" introduced checks for deprecated variables, and warns the user to use _INSTALL_HOST_OPTS instead of _INSTALL_HOST_OPT. Commit "6a25cec33d package/pkg-cmake.mk: rename _INSTALL_HOST_OPTS -> _INSTALL_OPTS" removed the usage of _INSTALL_HOST_OPTS but didn't add a check for the deprecated variable. Add a warning to change _INSTALL_HOST_OPTS to _INSTALL_OPTS. And change the warning for _INSTALL_HOST_OPT to also suggest _INSTALL_OPTS. Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
21d5d592a4
commit
94eb10b937
@ -1212,7 +1212,8 @@ $(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))
|
||||
$(eval $(call check-deprecated-variable,$(2)_INSTALL_STAGING_OPT,$(2)_INSTALL_STAGING_OPTS))
|
||||
$(eval $(call check-deprecated-variable,$(2)_INSTALL_HOST_OPT,$(2)_INSTALL_HOST_OPTS))
|
||||
$(eval $(call check-deprecated-variable,$(2)_INSTALL_HOST_OPT,$(2)_INSTALL_OPTS))
|
||||
$(eval $(call check-deprecated-variable,$(2)_INSTALL_HOST_OPTS,$(2)_INSTALL_OPTS))
|
||||
$(eval $(call check-deprecated-variable,$(2)_AUTORECONF_OPT,$(2)_AUTORECONF_OPTS))
|
||||
$(eval $(call check-deprecated-variable,$(2)_CONF_OPT,$(2)_CONF_OPTS))
|
||||
$(eval $(call check-deprecated-variable,$(2)_BUILD_OPT,$(2)_BUILD_OPTS))
|
||||
|
Loading…
Reference in New Issue
Block a user