diff options
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r-- | arch/x86/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 309597386a77..116b03a45636 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile | |||
@@ -1,12 +1,16 @@ | |||
1 | # Unified Makefile for i386 and x86_64 | 1 | # Unified Makefile for i386 and x86_64 |
2 | 2 | ||
3 | # select defconfig based on actual architecture | 3 | # select defconfig based on actual architecture |
4 | KBUILD_DEFCONFIG := $(ARCH)_defconfig | 4 | ifeq ($(ARCH),x86) |
5 | KBUILD_DEFCONFIG := i386_defconfig | ||
6 | else | ||
7 | KBUILD_DEFCONFIG := $(ARCH)_defconfig | ||
8 | endif | ||
5 | 9 | ||
6 | # # No need to remake these files | 10 | # No need to remake these files |
7 | $(srctree)/arch/x86/Makefile%: ; | 11 | $(srctree)/arch/x86/Makefile%: ; |
8 | 12 | ||
9 | ifeq ($(ARCH),i386) | 13 | ifeq ($(CONFIG_X86_32),y) |
10 | include $(srctree)/arch/x86/Makefile_32 | 14 | include $(srctree)/arch/x86/Makefile_32 |
11 | else | 15 | else |
12 | include $(srctree)/arch/x86/Makefile_64 | 16 | include $(srctree)/arch/x86/Makefile_64 |