diff options
author | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:50:37 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2005-10-10 08:50:37 -0400 |
commit | 40ef8cbc6d360e564573eb19582249c35d8ba330 (patch) | |
tree | abba70b7da8bef93a87431691dc8df79eb4425d5 /arch/powerpc/kernel/Makefile | |
parent | bc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b (diff) |
powerpc: Get 64-bit configs to compile with ARCH=powerpc
This is a bunch of mostly small fixes that are needed to get
ARCH=powerpc to compile for 64-bit. This adds setup_64.c from
arch/ppc64/kernel/setup.c and locks.c from arch/ppc64/lib/locks.c.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index bc063edd6de0..47a8eb6e7e39 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -10,6 +10,12 @@ CFLAGS_prom_init.o += -fPIC | |||
10 | CFLAGS_btext.o += -fPIC | 10 | CFLAGS_btext.o += -fPIC |
11 | endif | 11 | endif |
12 | 12 | ||
13 | obj-y := semaphore.o traps.o | ||
14 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o | ||
15 | obj-$(CONFIG_POWER4) += idle_power4.o | ||
16 | |||
17 | ifeq ($(CONFIG_PPC_MERGE),y) | ||
18 | |||
13 | extra-$(CONFIG_PPC_STD_MMU) := head_32.o | 19 | extra-$(CONFIG_PPC_STD_MMU) := head_32.o |
14 | extra-$(CONFIG_PPC64) := head_64.o | 20 | extra-$(CONFIG_PPC64) := head_64.o |
15 | extra-$(CONFIG_40x) := head_4xx.o | 21 | extra-$(CONFIG_40x) := head_4xx.o |
@@ -21,15 +27,12 @@ extra-$(CONFIG_PPC64) += entry_64.o | |||
21 | extra-$(CONFIG_PPC_FPU) += fpu.o | 27 | extra-$(CONFIG_PPC_FPU) += fpu.o |
22 | extra-y += vmlinux.lds | 28 | extra-y += vmlinux.lds |
23 | 29 | ||
24 | obj-y += traps.o prom.o semaphore.o | 30 | obj-y += process.o init_task.o \ |
31 | prom.o systbl.o | ||
25 | obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o | 32 | obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o |
26 | obj-$(CONFIG_PPC64) += idle_power4.o | 33 | obj-$(CONFIG_PPC64) += setup_64.o misc_64.o |
27 | obj-$(CONFIG_PPC64) += misc_64.o | ||
28 | ifeq ($(CONFIG_PPC32),y) | ||
29 | obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o | 34 | obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o |
30 | obj-$(CONFIG_MODULES) += ppc_ksyms.o | 35 | obj-$(CONFIG_MODULES) += ppc_ksyms.o |
31 | endif | ||
32 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o | ||
33 | obj-$(CONFIG_BOOTX_TEXT) += btext.o | 36 | obj-$(CONFIG_BOOTX_TEXT) += btext.o |
34 | 37 | ||
35 | ifeq ($(CONFIG_PPC_ISERIES),y) | 38 | ifeq ($(CONFIG_PPC_ISERIES),y) |