[Buildroot] util-linux builds and installs lots of unwanted binaries

Sven Neumann s.neumann at raumfeld.com
Tue Apr 17 17:08:53 UTC 2012


On Tue, 2012-04-17 at 08:08 -0300, Gustavo Zacarias wrote:

> Yes, i should make the other options depend on UTIL_LINUX_BASIC.
> However there's a choice in front regarding UTIL_LINUX_BASIC - with all 
> the util-linux options disabled and this one enabled you still get 
> binary stuff installed because they're, well, basic utilities always 
> built by util-linux.
> So the option would be to keep the basic option as is or add more 
> granular options for all those other tiny utilities described in the 
> help and remove/keep them in a post hook.
> I'd rather go for the second option since not many people will want 
> mkfs.bfs, mkfs.minix and those utilities most of the time, even when 
> installing others.

Adding an option for each and every utility would probably be too much.
But we could introduce options for each of the sub-directories in
util-linux (disk-utils, misc-utils, etc). Then one could use 'make -D
(subdir) install' to install all the utilities from a sub-directory.


Regards,
Sven





More information about the buildroot mailing list