Skip to content

Drop unused host packages

Thomas Petazzoni buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 24 patches 0 repliesNew

1 of 24 patches is in this archive. The cover letter announces 24.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
5/24erlang-goldrush: drop unused host variant+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [PATCH 00/24] Drop unused host packages

Hello,

Quoted 1 line · Julien Floret

It surely needs some rework, sorry for the noise!

No problem, this cleanup effort is definitely welcome.

Quoted 3 lines

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

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