swh:1:snp:173f8deb0c56c557784b4fd217e7608ac6197844
Raw File
Tip revision: 49914084e797530d9baaf51df9eda77babc98fa8 authored by Linus Torvalds on 24 January 2008, 22:58:37 UTC
Linux 2.6.24
Tip revision: 4991408
Makefile
# Unified Makefile for i386 and x86_64

# select defconfig based on actual architecture
ifeq ($(ARCH),x86)
        KBUILD_DEFCONFIG := i386_defconfig
else
        KBUILD_DEFCONFIG := $(ARCH)_defconfig
endif

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

ifeq ($(CONFIG_X86_32),y)
        UTS_MACHINE := i386
        include $(srctree)/arch/x86/Makefile_32
else
        UTS_MACHINE := x86_64
        include $(srctree)/arch/x86/Makefile_64
endif
back to top