[Buildroot] [PATCH 01/29] package/pkg-generic: add check for deprecated _INSTALL_HOST_OPTS

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Aug 10 22:09:40 UTC 2023


On Sun,  1 Jan 2023 20:36:25 -0300
Ricardo Martincoski <ricardo.martincoski at gmail.com> wrote:

> 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 at bootlin.com>
> Signed-off-by: Ricardo Martincoski <ricardo.martincoski at gmail.com>
> ---
>  package/pkg-generic.mk | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Not sure why we didn't apply this earlier: applied to next. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list