[Buildroot] [PATCH 2/4] pkg-infra: introduce pre/post-step hooks
Thomas De Schampheleire
patrickdepinguin at gmail.com
Mon Nov 11 16:11:11 UTC 2013
On Mon, Nov 11, 2013 at 4:03 PM, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
> From: "Yann E. MORIN" <yann.morin.1998 at free.fr>
>
> This hooks will let us instrument the build process in many ways:
> - log current step to see what broke
> - time each step to see what is worth optimising
> - sanity-check installed files (rpath, overwritten files...)
> - call user-provided script
> - ...
>
> The steps are coarse-grain, and all have a 'start' and a 'end' hooks.
> Here is the list of available steps (8 total):
> - extract
> - patch
> - configure
> - build
> - install-host
> - install-staging
> - install-image
> - install-target
>
> The download, clean and uninstall steps are not instrumented on purpose.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>
> Cc: Thomas De Schampheleire <patrickdepinguin at gmail.com>
> ---
> package/pkg-generic.mk | 40 ++++++++++++++++++++++++++++++++++++++++
> 1 file changed, 40 insertions(+)
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire at gmail.com>
More information about the buildroot
mailing list