Commit | Line | Data |
---|---|---|
74b469f2 SR |
1 | # Unified Makefile for i386 and x86_64 |
2 | ||
2266cfd5 SR |
3 | # select defconfig based on actual architecture |
4 | KBUILD_DEFCONFIG := $(ARCH)_defconfig | |
5 | ||
6 | # # No need to remake these files | |
74b469f2 SR |
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 |