pkg-infra: add user-supplied step-hooks
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 11 Nov 2013 15:03:29 +0000 (16:03 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 12 Nov 2013 23:27:26 +0000 (00:27 +0100)
commit2522fa8ed7e5e4dcec6a39ef8b6de75585dd721a
tree975590531e486ae39de30fd834915a7a1d71d336
parent17d4eb1e0261793a9f89e4a2253602c7ab926d2e
pkg-infra: add user-supplied step-hooks

Allow user to supply their own step-hooks by passing a variable
on the make command-line:
    make BR2_INSTRUMENTATION_SCRIPTS=/path/to/my/script

This can be useful to run site-specific actions at each step of the
build process, such as logging installed, removed or modified files,
do sanity checks on installed files...

It is possible to call more than one script, by passing a space-separated
lists of scripts to call.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com>
Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
docs/manual/debugging-buildroot.txt [new file with mode: 0644]
docs/manual/developer-guide.txt
package/pkg-generic.mk