diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2008-05-25 17:03:18 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-05-25 17:03:18 -0400 |
commit | 73531905ed53576d9e8707659a761e7046a60497 (patch) | |
tree | ac64658106d8e260a0958c0df296c38ea57b0243 /init | |
parent | 9723c046bd5989aa9064038ce142f498bb1870d6 (diff) |
Kconfig: introduce ARCH_DEFCONFIG to DEFCONFIG_LIST
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>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig index 6135d07f31e..6199d112090 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -13,6 +13,7 @@ config DEFCONFIG_LIST | |||
13 | default "/lib/modules/$UNAME_RELEASE/.config" | 13 | default "/lib/modules/$UNAME_RELEASE/.config" |
14 | default "/etc/kernel-config" | 14 | default "/etc/kernel-config" |
15 | default "/boot/config-$UNAME_RELEASE" | 15 | default "/boot/config-$UNAME_RELEASE" |
16 | default "$ARCH_DEFCONFIG" | ||
16 | default "arch/$ARCH/defconfig" | 17 | default "arch/$ARCH/defconfig" |
17 | 18 | ||
18 | menu "General setup" | 19 | menu "General setup" |