On 17.7.2012 10:03, Geert Uytterhoeven wrote: > On Mon, Jul 16, 2012 at 10:56 PM, Linus Torvalds > <torva...@linux-foundation.org> wrote: >> On Mon, Jul 16, 2012 at 12:26 PM, <da...@lang.hm> wrote: >>> Some of the proposed ways to implement the minimum distro kernel would not >>> allow you to override the distro defaults because they would be implemented >>> by setting dependancies, not by selecting options that you as the user could >>> then unselect. >> >> The sanest thing to do is just a list of "select" statements. And in >> any case it would have to depend on the "distro config" entry, so EVEN >> THEN you could just create the Kconfig file, then edit out the distro >> config thing, and then do whatever you want. > > Except that "select" is one of the ugliest things in Kconfig, as it > blindly sets a symbol > without checking if its dependencies are fulfilled.
But for the few options Linus proposed (TMPFS, TMPFS_POSIX_*, DEVTMPFS(_MOUNT)), the amount of additional dependencies is reasonable. For something more advanced like 'build me a kernel for a laptop with $VENDOR hardware', we would need a better dependency solver, indeed. Michal -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/