aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Kconfig
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-11-12 14:54:30 -0500
committerSam Ravnborg <sam@ravnborg.org>2007-11-12 15:02:20 -0500
commitdaa93fab824f2b8c35bd11670c7fab2f32b2de5f (patch)
tree73e22e7faa28dd1ec034653918b8dd1922530c3d /arch/x86/Kconfig
parentd746d647f31bd3664f4a23985b78654129ffc1db (diff)
x86: enable "make ARCH=x86"
After unification of the Kconfig files and introducing K64BIT support in kconfig it required only trivial changes to enable "make ARCH=x86". With this patch you can build for x86_64 in several ways: 1) make ARCH=x86_64 2) make ARCH=x86 K64BIT=y 3) make ARCH=x86 menuconfig => select 64-bit Likewise for i386 with the addition that i386 is default is you say ARCH=x86. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Ingo Molnar <mingo@redhat.com> Cc: "H. Peter Anvin" <hpa@zytor.com>
Diffstat (limited to 'arch/x86/Kconfig')
-rw-r--r--arch/x86/Kconfig18
1 files changed, 15 insertions, 3 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 34517bf14ba4..1eb59971af5d 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -1,13 +1,25 @@
1# x86 configuration 1# x86 configuration
2mainmenu "Linux Kernel Configuration for x86"
3
4# Select 32 or 64 bit
5config 64BIT
6 bool "64-bit kernel"
7 default n
8 help
9 Say yes to build a 64-bit kernel - formerly known as x86_64
10 Say no to build a 32-bit kernel - formerly known as i386
11
12config X86_32
13 def_bool !64BIT
14
15config X86_64
16 def_bool 64BIT
2 17
3### Arch settings 18### Arch settings
4config X86 19config X86
5 bool 20 bool
6 default y 21 default y
7 22
8config 64BIT
9 def_bool X86_64
10
11config GENERIC_TIME 23config GENERIC_TIME
12 bool 24 bool
13 default y 25 default y