[Buildroot] [PATCH 2/4] pkg-infra: introduce pre/post-step hooks
s.martin49 at gmail.com
Mon Nov 11 21:43:40 UTC 2013
2013/11/11 Thomas De Schampheleire <patrickdepinguin at gmail.com>
> On Mon, Nov 11, 2013 at 4:03 PM, Yann E. MORIN <yann.morin.1998 at free.fr>
> > 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>
Reviewed-by: Samuel Martin <s.martin49 at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the buildroot