2007-10-26 01:42:04 +08:00
|
|
|
# Unified Makefile for i386 and x86_64
|
|
|
|
|
2007-10-26 02:31:19 +08:00
|
|
|
# select defconfig based on actual architecture
|
|
|
|
KBUILD_DEFCONFIG := $(ARCH)_defconfig
|
|
|
|
|
|
|
|
# # No need to remake these files
|
2007-10-26 01:42:04 +08:00
|
|
|
$(srctree)/arch/x86/Makefile%: ;
|
|
|
|
|
|
|
|
ifeq ($(ARCH),i386)
|
|
|
|
include $(srctree)/arch/x86/Makefile_32
|
|
|
|
else
|
|
|
|
include $(srctree)/arch/x86/Makefile_64
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|