> -------- Original Message -------- > Subject: Re: [PATCH] Kconfig: default m doesn't work for > menuconfig/xconfig/gconfig even if CONFIG_MODULES=y > From: Michal Marek <mmarek@xxxxxxx> > Date: Thu, December 17, 2009 4:48 pm > To: Jiafu He <jay@xxxxxxxxxxxx> > Cc: linux-kbuild@xxxxxxxxxxxxxxx, Roman Zippel <zippel@xxxxxxxxxxxxxx> > > > Jiafu He napsal(a): > > menuconfig/xconfig/gconfig all fails to set tristate CONFIG_ options to > > m even if CONFIG_MODULES=y has been set. The "config" target works, > > though. > > On a x86_64, I tried adding > config FOOBAR > tristate "foobar" > default m > ---help--- > aaa aaa > to init/Kconfig > > The I run make menuconfig in an already configured build dir and in an > empty one, in both cases FOOBAR was preset to M. Could you provide a > step-by-step testcase that shows the problem you want to fix? > It must be the host or source tree defconfig's jumped in. Remember to delete .config and commenting out the "default" lines for "config DEFCONFIG_LIST" in init/Kconfig and the "default" lines for "config ARCH_DEFCONFIG" in arch/x86/Kconfig before running 'make menuconfig'. In my case (Centos 5), the "/boot/config-$UNAME_RELEASE", which contains 'CONFIG_MODULES=y', jumps in the way. Jiafu -- 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