[Buildroot] [PATCH 1/1] util-linux: allow programs to be disabled by default

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Jun 30 20:59:15 UTC 2015


Dear Danomi Manchego,

On Mon, 29 Jun 2015 23:36:08 -0400, Danomi Manchego wrote:

> +ifeq ($(BR2_PACKAGE_UTIL_LINUX_DISABLE_BY_DEFAULT),y)
> +UTIL_LINUX_CONF_OPTS += --disable-all-programs
> +endif

I understand the idea, but it's a bit weird to have an option to enable
to say that you want to disable everything.

Also, we are already passing --disable-all-programs when
BR2_PACKAGE_UTIL_LINUX_BINARIES is not enabled. Maybe we should instead
pass --disable-all-programs unconditionally. However this would change
the visible behavior for users, since programs that used to be built
would no longer be built. But it seems the most correct solution
nonetheless.

Any opinions from other Buildroot developers?

Thanks,

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


More information about the buildroot mailing list