diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-05-25 23:03:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-06-16 13:20:05 -0700 |
commit | c7559a1531958785bdc25363f8cde154011c0f9d (patch) | |
tree | 99549ade5c90864c96d2c1f9efcda1cc8d166709 /arch | |
parent | 3f8c9c7e37568163e4a9d923286b8ca30a42bed6 (diff) | |
download | lwn-c7559a1531958785bdc25363f8cde154011c0f9d.tar.gz lwn-c7559a1531958785bdc25363f8cde154011c0f9d.zip |
Kconfig: introduce ARCH_DEFCONFIG to DEFCONFIG_LIST
commit 73531905ed53576d9e8707659a761e7046a60497 in mainline.
init/Kconfig contains a list of configs that are searched
for if 'make *config' are used with no .config present.
Extend this list to look at the config identified by
ARCH_DEFCONFIG.
With this change we now try the defconfig targets last.
This fixes a regression reported
by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/Kconfig | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 99a4ed3d23fc..405689cf8d74 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -24,17 +24,10 @@ config X86 select HAVE_KRETPROBES select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64) -config DEFCONFIG_LIST +config ARCH_DEFCONFIG string - depends on X86_32 - option defconfig_list - default "arch/x86/configs/i386_defconfig" - -config DEFCONFIG_LIST - string - depends on X86_64 - option defconfig_list - default "arch/x86/configs/x86_64_defconfig" + default "arch/x86/configs/i386_defconfig" if X86_32 + default "arch/x86/configs/x86_64_defconfig" if X86_64 config GENERIC_LOCKBREAK |