[Buildroot] [PATCH] system: move system.mk recipes inside the "target-finalize" rule

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jun 11 12:54:35 UTC 2014


Dear Fabio Porcedda,

On Wed, 11 Jun 2014 11:21:38 +0200, Fabio Porcedda wrote:

> > Ah. I don't remember. Do you have a pointer to this discussion? I'd
> > like to see what were the arguments back then :-)
> 
> Sure: http://lists.busybox.net/pipermail/buildroot/2014-April/095052.html

Ok, I see now. The problem I have with the reasoning we used during
this discussion is that we only thought of those "global"
target-finalize tasks. But there are also plenty of more
package-specific ones, such as cleaning up unneeded Python things, or
unneeded Perl things. A hook mechanism would allow to move these
individual bits of logic down to the package needing them.

It's true that I admit it would be less easy to read and understand
that a complete list of all target-finalize tasks. So if Peter and
Arnout prefer the explicit list, I'm fine.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list