diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-10-25 19:42:04 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-10-25 22:27:34 +0200 |
commit | 74b469f2e6b1589118b6ac05c7256add01e572d2 (patch) | |
tree | d963009bef4f36ae610dd56ca69961e0de9ee29c /arch/x86/Makefile | |
parent | c9927c2bf4f45bb85e8b502ab3fb79ad6483c244 (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/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/x86/Makefile b/arch/x86/Makefile new file mode 100644 index 000000000000..65077d79c846 --- /dev/null +++ b/arch/x86/Makefile @@ -0,0 +1,13 @@ +# Unified Makefile for i386 and x86_64 + +# 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 + + + |