[PATCH 2/2] kconfig: Use /proc/config.gz as a configuration source

From: Jeff Mahoney
Date: Fri Feb 25 2011 - 19:44:54 EST


This patch uses the type handlers to add /proc/config.gz as a configuration
source when 'make oldconfig' is used with a missing .config

Signed-off-by: Jeff Mahoney <jeffm@xxxxxxxx>
---

init/Kconfig | 1 +
1 file changed, 1 insertion(+)

--- a/init/Kconfig
+++ b/init/Kconfig
@@ -26,6 +26,7 @@ config DEFCONFIG_LIST
depends on !UML
option defconfig_list
default "/lib/modules/$UNAME_RELEASE/.config"
+ default "/proc/config.gz"
default "/etc/kernel-config"
default "/boot/config-$UNAME_RELEASE"
default "$ARCH_DEFCONFIG"

--
Jeff Mahoney
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/