Makefile 410 字节
Newer Older
1 2
# Unified Makefile for i386 and x86_64

3
# select defconfig based on actual architecture
4 5 6 7 8
ifeq ($(ARCH),x86)
        KBUILD_DEFCONFIG := i386_defconfig
else
        KBUILD_DEFCONFIG := $(ARCH)_defconfig
endif
9

10
# No need to remake these files
11 12
$(srctree)/arch/x86/Makefile%: ;

13
ifeq ($(CONFIG_X86_32),y)
14 15 16 17 18 19 20
        include $(srctree)/arch/x86/Makefile_32
else
        include $(srctree)/arch/x86/Makefile_64
endif