https://github.com/torvalds/linux
Raw File
Tip revision: dbeeb816e805091e7cfc03baf36dc40b4adb2bbd authored by Linus Torvalds on 06 November 2007, 21:57:46 UTC
Linux 2.6.24-rc2
Tip revision: dbeeb81
Makefile
# Unified Makefile for i386 and x86_64

# select defconfig based on actual architecture
KBUILD_DEFCONFIG := $(ARCH)_defconfig

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

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



back to top