x86: simplify "make ARCH=x86" and fix kconfig all.config
[linux-2.6] / arch / x86 / Makefile
1 # Unified Makefile for i386 and x86_64
2
3 # select defconfig based on actual architecture
4 ifeq ($(ARCH),x86)
5         KBUILD_DEFCONFIG := i386_defconfig
6 else
7         KBUILD_DEFCONFIG := $(ARCH)_defconfig
8 endif
9
10 # No need to remake these files
11 $(srctree)/arch/x86/Makefile%: ;
12
13 ifeq ($(CONFIG_X86_32),y)
14         include $(srctree)/arch/x86/Makefile_32
15 else
16         include $(srctree)/arch/x86/Makefile_64
17 endif
18
19
20