[Buildroot] [PATCH 00/24] Drop unused host packages
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Jun 29 14:43:36 UTC 2016
Hello,
On Wed, 29 Jun 2016 16:30:34 +0200, Julien Floret wrote:
> It surely needs some rework, sorry for the noise!
No problem, this cleanup effort is definitely welcome.
> From your comments, I also understand some host packages should be kept
> even if they are unused in buildroot upstream (e.g. jsmin), so I guess it's not
> trivial for me to know which packages could be removed.
Yes, there are some tricky cases. Normally the rule should indeed be
that a host package should either:
1/ Be described in a Config.in.host file and therefore visible in
menuconfig ;
2/ Be a dependency of another package.
However, there are other situations:
*/ Host packages that we merge, even if they are not *yet* used by
target packages. We sometimes do this to help people reduce the
size of their patch series by merging some initial patches, while
the remaining patches are still under discussion/review. Normally
this is only a temporary situation (but for sepolgen, it's a
temporary situation that lasts since many months).
*/ Host packages that are not used by other packages in Buildroot, but
might be used by private, company/project-specific packages. I
don't like this situation, because there is really no way these
host packages will ever be built/tested. But I'm not sure what to
do about these: adding an entry in menuconfig is a bit weird since
they are not really needed for anything else but a build dependency.
What do others think?
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list