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

3 4 5 6
# select defconfig based on actual architecture
KBUILD_DEFCONFIG := $(ARCH)_defconfig

# # No need to remake these files
7 8 9 10 11 12 13 14 15 16
$(srctree)/arch/x86/Makefile%: ;

ifeq ($(ARCH),i386)
        include $(srctree)/arch/x86/Makefile_32
else
        include $(srctree)/arch/x86/Makefile_64
endif