aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86_64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/Makefile')
-rw-r--r--arch/x86_64/Makefile11
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
25SRCARCH := x86
26
27archprepare:
28 @mkdir -p ${objtree}/arch/x86/kernel
29
30
24LDFLAGS := -m elf_x86_64 31LDFLAGS := -m elf_x86_64
25OBJCOPYFLAGS := -O binary -R .note -R .comment -S 32OBJCOPYFLAGS := -O binary -R .note -R .comment -S
26LDFLAGS_vmlinux := 33LDFLAGS_vmlinux :=
@@ -71,10 +78,10 @@ CFLAGS += $(cflags-y)
71CFLAGS_KERNEL += $(cflags-kernel-y) 78CFLAGS_KERNEL += $(cflags-kernel-y)
72AFLAGS += -m64 79AFLAGS += -m64
73 80
74head-y := arch/x86_64/kernel/head_64.o arch/x86_64/kernel/head64.o arch/x86_64/kernel/init_task_64.o 81head-y := arch/x86/kernel/head_64.o arch/x86/kernel/head64.o arch/x86/kernel/init_task_64.o
75 82
76libs-y += arch/x86/lib/ 83libs-y += arch/x86/lib/
77core-y += arch/x86_64/kernel/ \ 84core-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/