Messages in this thread Patch in this message | | | Date | Tue, 18 Jan 2005 19:41:23 +0100 | From | Andreas Gruenbacher <> | Subject | [kbuild 2/5] Dont use the running kernels config file by default |
| |
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 <agruen@suse.de>
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 <agruen@suse.de> SUSE Labs, SUSE LINUX PRODUCTS GMBH
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |