* [Buildroot] Packages Post-extract pre-patch phase ?
@ 2011-06-05 14:40 Mike Davies
2011-06-05 19:23 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Mike Davies @ 2011-06-05 14:40 UTC (permalink / raw)
To: buildroot
Is it possible to have a "post extract" or "pre patch" phase ?
The reason is that I have a tarball (opencv-2.2) which comes with .rej
files in it. This stops buildroot dead.
I need to run some sort of command like ...
find $(LIBFOO_DIR) -name *.rej -delete
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] Packages Post-extract pre-patch phase ?
2011-06-05 14:40 [Buildroot] Packages Post-extract pre-patch phase ? Mike Davies
@ 2011-06-05 19:23 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2011-06-05 19:23 UTC (permalink / raw)
To: buildroot
Le Sun, 05 Jun 2011 15:40:05 +0100,
Mike Davies <busybox_mail@rovoreed.com> a ?crit :
> Is it possible to have a "post extract" or "pre patch" phase ?
Yes, you have the <pkg>_POST_EXTRACT_HOOKS variable for each package,
which can contain a list of make macros to call after the package
extraction.
See package/dropbear/dropbear.mk for an example.
The documentation should be updated to reflect the availability of this
hook point. Would you volunteer to send a patch to update the
documentation ?
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-05 19:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-05 14:40 [Buildroot] Packages Post-extract pre-patch phase ? Mike Davies
2011-06-05 19:23 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox