On Wed, Sep 21, 2011 at 08:44:23AM +0200, Richard Cochran wrote: > On Tue, Sep 20, 2011 at 10:22:41PM -0700, John Stultz wrote: > > After noticing almost every distro has their own method of managing > > config fragments, I went looking at some best practices, and wanted > > to try to consolidate some of the different approaches so this fairly > > simple infrastructure can be shared (and new distros/build systems > > don't have to implement yet another config fragment merge script). > > John, > > I have been wanting to make or find a way to start with an allnoconfig > and enable a short list of config options (and the options that are > needed to allow them). I don't want the other defaults at all. >From Documentation/kbuild/kconfig.txt: =================================================================== This 'KCONFIG_ALLCONFIG' file is a config file which contains (usually a subset of all) preset config symbols. These variable settings are still subject to normal dependency checks. Examples: KCONFIG_ALLCONFIG=custom-notebook.config make allnoconfig or KCONFIG_ALLCONFIG=mini.config make allnoconfig or make KCONFIG_ALLCONFIG=mini.config allnoconfig These examples will disable most options (allnoconfig) but enable or disable the options that are explicitly listed in the specified mini-config files. =================================================================== I think this should do what you want. Sam -- To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html