A user ran into the following problem: They grab a SuSE kernel-source package that is more recent than their running kernel. The tree under /usr/src/linux is unconfigured by default; there is no .config. User does a ``make menuconfig'', which gets its default values from /boot/config-$(uname -r). User tries to build the kernel, which doesn't work.
I would like to get rid of using the running kernel's configuration unless the user explicitly requests it. Instead, please add the cloneconfig target to clone the running kernel's config file. See other patch. Signed-off-by: Andreas Gruenbacher <[EMAIL PROTECTED]> Index: linux-2.6.11-rc1-bk6/scripts/kconfig/confdata.c =================================================================== --- linux-2.6.11-rc1-bk6.orig/scripts/kconfig/confdata.c +++ linux-2.6.11-rc1-bk6/scripts/kconfig/confdata.c @@ -20,9 +20,6 @@ const char conf_defname[] = "arch/$ARCH/ const char *conf_confnames[] = { ".config", - "/lib/modules/$UNAME_RELEASE/.config", - "/etc/kernel-config", - "/boot/config-$UNAME_RELEASE", conf_defname, NULL, }; -- Andreas Gruenbacher <[EMAIL PROTECTED]> SUSE Labs, SUSE LINUX PRODUCTS GMBH - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/