Skip to content

Commit

Permalink
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
Browse files Browse the repository at this point in the history
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes:
  Kconfig: introduce ARCH_DEFCONFIG to DEFCONFIG_LIST
  .gitignore: match ncscope.out
  scripts/ver_linux use 'gcc -dumpversion'
  • Loading branch information
Linus Torvalds committed May 25, 2008
2 parents c8ff99a + 7353190 commit b373303
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ series

# cscope files
cscope.*
ncscope.*

*.orig
*~
Expand Down
13 changes: 3 additions & 10 deletions arch/x86/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,10 @@ 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
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
Expand Down
1 change: 1 addition & 0 deletions init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ config DEFCONFIG_LIST
default "/lib/modules/$UNAME_RELEASE/.config"
default "/etc/kernel-config"
default "/boot/config-$UNAME_RELEASE"
default "$ARCH_DEFCONFIG"
default "arch/$ARCH/defconfig"

menu "General setup"
Expand Down
5 changes: 1 addition & 4 deletions scripts/ver_linux
Original file line number Diff line number Diff line change
Expand Up @@ -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}'

Expand Down

0 comments on commit b373303

Please sign in to comment.