[Buildroot] [PATCH] package: don't default to y for categories

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Nov 14 10:15:45 UTC 2008


Le Fri, 14 Nov 2008 10:52:26 +0100,
Hans-Christian Egtvedt <hans-christian.egtvedt at atmel.com> a écrit :

> It was more a remark about a general "bug" in the menu system
> generated by kconfig now. Just look at the kernel, if you select a
> driver beneath SPI, then you are not able to deselect the SPI
> category. I think we should do the same with the kconfig in Buildroot.

This is important when enabling a category enables the compilation of a
particular set of code, required for the items available under this
specific category.

In our case, the categories « Graphical libraries », « Audio stuff »
and others do not lead to anything being compiled, except if I'm wrong.
So I would say that we shouldn't be able to select/unselect the
categories. They should just be submenus, to organize the options, not
more.

Look at the top of the kernel configuration system. Networking support
can be enabled/disabled as a whole, while Device Drivers is just a
submenu. Our categories should be like Device Drivers, IMO.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list