[Buildroot] [PATCH 06/15] package/pkg-generic.mk: Introduce <PKG>_PER_PACKAGE_TWEAK_HOOKS

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Jun 21 15:10:10 UTC 2021


On Mon, 21 Jun 2021 16:11:21 +0200
Herve Codina <herve.codina at bootlin.com> wrote:

> This hook will be used by package infrastucture or some packages to tweak
> external files (ie files not provides by the package itself) when we build
> with BR2_PER_PACKAGE_DIRECTORIES set.
> 
> This allows to have these tweaks in a specific hook instead of
> <PKG>_POST_CONFIGURE_HOOK. And so we can call these specific tweaks
> whenever we need them.
> 
> Signed-off-by: Herve Codina <herve.codina at bootlin.com>

I think this commit log needs an explanation as to why this is
necessary, i.e why isn't the current solution of POST_CONFIGURE_HOOKS
working.

Thanks!

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



More information about the buildroot mailing list