aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/Makefile
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2007-10-25 13:42:04 -0400
committerSam Ravnborg <sam@ravnborg.org>2007-10-25 16:27:34 -0400
commit74b469f2e6b1589118b6ac05c7256add01e572d2 (patch)
treed963009bef4f36ae610dd56ca69961e0de9ee29c /arch/x86/Makefile
parentc9927c2bf4f45bb85e8b502ab3fb79ad6483c244 (diff)
x86: move i386 and x86_64 Makefiles to arch/x86
Moving the ARCH specific Makefiles for i386 and x86_64 required a litle bit tweaking in the top-lvel Makefile. SRCARCH is now set in the top-level Makefile because we need this info to include the correct arch Makefile. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'arch/x86/Makefile')
-rw-r--r--arch/x86/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile
new file mode 100644
index 00000000000..65077d79c84
--- /dev/null
+++ b/arch/x86/Makefile
@@ -0,0 +1,13 @@
1# Unified Makefile for i386 and x86_64
2
3# No need to remake these files
4$(srctree)/arch/x86/Makefile%: ;
5
6ifeq ($(ARCH),i386)
7 include $(srctree)/arch/x86/Makefile_32
8else
9 include $(srctree)/arch/x86/Makefile_64
10endif
11
12
13