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

Arnout Vandecappelle arnout at mind.be
Sat Jul 2 10:05:03 UTC 2016


On 30-06-16 15:01, Julien Floret wrote:
> 2016-06-29 23:53 GMT+02:00 Ezequiel Garcia <ezequiel at vanguardiasur.com.ar>:
>> On 29 June 2016 at 11:43, Thomas Petazzoni
>> <thomas.petazzoni at free-electrons.com> wrote:
>> [..]
>>>
>>>  */ 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.
>>>
>>
>> I guess we could argue that if company/project is willing to maintain some
>> private package(s), then they are willing to maintain its dependencies,
>> incluing host package(s) and carry the whole bunch out of tree.

 I would agree with this.

>> --
>> Ezequiel García, VanguardiaSur
>> www.vanguardiasur.com.ar
> 
> Then maybe the best approach would be to add Kconfig options for
> all host packages, similarly to target packages - blind options for build
> dependencies that get selected automatically by other packages, and
> explicit options for host packages that are unreachable in upstream
> buildroot - to allow testing their build and keep track of them?

 And I agree with this as well.

 That said, I'm less opposed to adding Config.in.host options for random
packages than some other people here.


> 
> Besides, having Kconfig options for all host packages would open the way
> to including only the .mk files of selected packages, to speed up the
> makefile parsing.
> Maybe it could be handy for other things, too?

 IIRC it was also needed to get per-package staging completely correct. And it
would allow to simplify the construction of the list of packages. Things like
ALL_DEPENDENCIES wouldn't be needed anymore.


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF


More information about the buildroot mailing list