[Buildroot] [PATCH v2] package/iputils: add configs to select which binaries are built

Alejandro González alejandro.gonzalez.correo at gmail.com
Mon Aug 26 19:35:02 UTC 2019


El 26/8/19 a las 21:21, Petr Vorel escribió:
> Hi Alejandro,
> 
>> El 26/8/19 a las 20:07, Alejandro González escribió:
>>> By default, the iputils build script might build binaries which are
>>> useless for certain applications, like tftpd. Those binaries will bloat
>>> the target filesystem unless a post-build script removes them manually,
>>> which is cumbersome and doesn't shorten build times.
> 
>>> These changes add Kconfig options which let the user select what
>>> binaries are built with ease.
> 
>>> Signed-off-by: Alejandro González <alejandro.gonzalez.correo at gmail.com>
> Reviewed-by: Petr Vorel <petr.vorel at gmail.com>
> 
> I understand the concern, but not sure if this is a buildroot policy.
> IMHO there is a concern not to put too many options in Kconfig.
> Thomas, Petr, am I right?
> 
> Kind regards,
> Petr
> 
Thank you for your prompt review.

I understand that too many options might be confusing and/or ugly.
However, in this case, these options are only shown in the menuconfig
when the iputils package is selected. If it is not, then they won't
show up, and they won't clutter the view. There are other packages that
offer similar options, like ntp or iptables, but I don't know if they
precisely are examples to follow for new development.

Regards.



More information about the buildroot mailing list