[GIT PULL] kbuild fixes



Hi Linus.

Please pull from:

ssh://master.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes.git

This fixes the 'make oldconfig' regression you reported.
And in addition a small .gitignore and ver_linux update.

Sam

The pull includes the following patches:

Gabriel C (1):
scripts/ver_linux use 'gcc -dumpversion'

Jike Song (1):
.gitignore: match ncscope.out

Sam Ravnborg (1):
Kconfig: add KBUILD_DEFCONFIG to DEFCONFIG_LIST


.gitignore | 1 +
arch/x86/Kconfig | 13 -------------
init/Kconfig | 11 ++++++++++-
scripts/ver_linux | 5 +----
4 files changed, 12 insertions(+), 18 deletions(-)

diff --git a/.gitignore b/.gitignore
index 9c0d650..d24ad50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,6 +52,7 @@ series

# cscope files
cscope.*
+ncscope.*

*.orig
*~
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index fe361ae..6a4b98e 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -26,19 +26,6 @@ config X86
select HAVE_KVM if ((X86_32 && !X86_VOYAGER && !X86_VISWS && !X86_NUMAQ) || X86_64)
select HAVE_ARCH_KGDB if !X86_VOYAGER

-config DEFCONFIG_LIST
- 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"
-
-
config GENERIC_LOCKBREAK
def_bool n

diff --git a/init/Kconfig b/init/Kconfig
index 6135d07..2aa7180 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -6,6 +6,14 @@ config KERNELVERSION
string
option env="KERNELVERSION"

+config KBUILD_DEFCONFIG
+ string
+ option env="KBUILD_DEFCONFIG"
+
+config SRCARCH
+ string
+ option env="SRCARCH"
+
config DEFCONFIG_LIST
string
depends on !UML
@@ -13,7 +21,8 @@ config DEFCONFIG_LIST
default "/lib/modules/$UNAME_RELEASE/.config"
default "/etc/kernel-config"
default "/boot/config-$UNAME_RELEASE"
- default "arch/$ARCH/defconfig"
+ default "arch/$SRCARCH/configs/$KBUILD_DEFCONFIG"
+ default "arch/$SRCARCH/defconfig"

menu "General setup"

diff --git a/scripts/ver_linux b/scripts/ver_linux
index ab69ece..7ac0e30 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -12,12 +12,9 @@ echo ' '
uname -a
echo ' '

-gcc --version 2>&1| head -n 1 | grep -v gcc | awk \
+gcc -dumpversion 2>&1| awk \
'NR==1{print "Gnu C ", $1}'

-gcc --version 2>&1| grep gcc | awk \
-'NR==1{print "Gnu C ", $3}'
-
make --version 2>&1 | awk -F, '{print $1}' | awk \
'/GNU Make/{print "Gnu make ",$NF}'

--
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/



Relevant Pages

  • Re: mailutil rsh timeout?
    ... Ok, here's the issue, how do I use the above syntax to pull the entire ... It will pull the entire hierarchy. ... I've left the uw-imap server in it's default config it tries pulling things ...
    (comp.mail.imap)
  • Re: [GIT PULL] kbuild fixes
    ... And in addition a small .gitignore and ver_linux update. ... The pull includes the following patches: ... Gabriel C: ... the bad commit does not end up in -linus, ...
    (Linux-Kernel)
  • Re: shell/awk scripting help - parsing directories to gainuser/file information for commands
    ... You could pull the data for the FOR loop out of the apache config, ... For most things like this in Awk, you need to know 3 things: ... > (not a shell scripting person by trade). ...
    (freebsd-isp)
  • Heartbeat question
    ... I have a 2003 2 node Cluster, ... If I pull the heartbeat cable shouldn't the cluster failover? ... I followed all MS recommendations for heartbeat config. ...
    (microsoft.public.windows.server.clustering)
  • Stored Procedure Results
    ... DELETE FROM tblEEConfig ... SELECT FO, Pull, Config, StartSNRange FROM tblSerialNum WHERE FO = @FO ... Config and StartSNRange in a text box on a .net form. ...
    (microsoft.public.dotnet.languages.vb)