1 # Unified Makefile for i386 and x86_64
3 # select defconfig based on actual architecture
5 KBUILD_DEFCONFIG := i386_defconfig
7 KBUILD_DEFCONFIG := $(ARCH)_defconfig
10 # No need to remake these files
11 $(srctree)/arch/x86/Makefile%: ;
13 ifeq ($(CONFIG_X86_32),y)
15 include $(srctree)/arch/x86/Makefile_32
18 include $(srctree)/arch/x86/Makefile_64