diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:17:24 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2007-10-11 05:17:24 -0400 |
commit | 250c22777fe1ccd7ac588579a6c16db4c0161cc5 (patch) | |
tree | 55c317efb7d792ec6fdae1d1937c67a502c48dec /arch/x86_64/Makefile | |
parent | 2db55d344e529492545cb3b755c7e9ba8e4fa94e (diff) |
x86_64: move kernel
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r-- | arch/x86_64/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/x86_64/Makefile b/arch/x86_64/Makefile index 189d80d3a891..afaf0f998878 100644 --- a/arch/x86_64/Makefile +++ b/arch/x86_64/Makefile | |||
@@ -21,6 +21,13 @@ | |||
21 | # | 21 | # |
22 | # $Id: Makefile,v 1.31 2002/03/22 15:56:07 ak Exp $ | 22 | # $Id: Makefile,v 1.31 2002/03/22 15:56:07 ak Exp $ |
23 | 23 | ||
24 | # Fill in SRCARCH | ||
25 | SRCARCH := x86 | ||
26 | |||
27 | archprepare: | ||
28 | @mkdir -p ${objtree}/arch/x86/kernel | ||
29 | |||
30 | |||
24 | LDFLAGS := -m elf_x86_64 | 31 | LDFLAGS := -m elf_x86_64 |
25 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S | 32 | OBJCOPYFLAGS := -O binary -R .note -R .comment -S |
26 | LDFLAGS_vmlinux := | 33 | LDFLAGS_vmlinux := |
@@ -71,10 +78,10 @@ CFLAGS += $(cflags-y) | |||
71 | CFLAGS_KERNEL += $(cflags-kernel-y) | 78 | CFLAGS_KERNEL += $(cflags-kernel-y) |
72 | AFLAGS += -m64 | 79 | AFLAGS += -m64 |
73 | 80 | ||
74 | head-y := arch/x86_64/kernel/head_64.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task_64.o | 81 | head-y := arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/init_task_64.o |
75 | 82 | ||
76 | libs-y += arch/x86/lib/ | 83 | libs-y += arch/x86/lib/ |
77 | core-y += arch/x86_64/kernel/ \ | 84 | core-y += arch/x86/kernel/ \ |
78 | arch/x86/mm/ \ | 85 | arch/x86/mm/ \ |
79 | arch/x86/crypto/ \ | 86 | arch/x86/crypto/ \ |
80 | arch/x86/vdso/ | 87 | arch/x86/vdso/ |