Sam Ravnborg | 74b469f | 2007-10-25 19:42:04 +0200 | [diff] [blame] | 1 | # Unified Makefile for i386 and x86_64 |
2 | |||||
Sam Ravnborg | 2266cfd | 2007-10-25 20:31:19 +0200 | [diff] [blame] | 3 | # select defconfig based on actual architecture |
4 | KBUILD_DEFCONFIG := $(ARCH)_defconfig | ||||
5 | |||||
6 | # # No need to remake these files | ||||
Sam Ravnborg | 74b469f | 2007-10-25 19:42:04 +0200 | [diff] [blame] | 7 | $(srctree)/arch/x86/Makefile%: ; |
8 | |||||
9 | ifeq ($(ARCH),i386) | ||||
10 | include $(srctree)/arch/x86/Makefile_32 | ||||
11 | else | ||||
12 | include $(srctree)/arch/x86/Makefile_64 | ||||
13 | endif | ||||
14 | |||||
15 | |||||
16 |