aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-10 08:50:37 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-10 08:50:37 -0400
commit40ef8cbc6d360e564573eb19582249c35d8ba330 (patch)
treeabba70b7da8bef93a87431691dc8df79eb4425d5 /arch/powerpc/kernel/Makefile
parentbc6f8a4b199156897f6eb5b70bf5c1a4773f4e2b (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/Makefile15
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
10CFLAGS_btext.o += -fPIC 10CFLAGS_btext.o += -fPIC
11endif 11endif
12 12
13obj-y := semaphore.o traps.o
14obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o
15obj-$(CONFIG_POWER4) += idle_power4.o
16
17ifeq ($(CONFIG_PPC_MERGE),y)
18
13extra-$(CONFIG_PPC_STD_MMU) := head_32.o 19extra-$(CONFIG_PPC_STD_MMU) := head_32.o
14extra-$(CONFIG_PPC64) := head_64.o 20extra-$(CONFIG_PPC64) := head_64.o
15extra-$(CONFIG_40x) := head_4xx.o 21extra-$(CONFIG_40x) := head_4xx.o
@@ -21,15 +27,12 @@ extra-$(CONFIG_PPC64) += entry_64.o
21extra-$(CONFIG_PPC_FPU) += fpu.o 27extra-$(CONFIG_PPC_FPU) += fpu.o
22extra-y += vmlinux.lds 28extra-y += vmlinux.lds
23 29
24obj-y += traps.o prom.o semaphore.o 30obj-y += process.o init_task.o \
31 prom.o systbl.o
25obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o 32obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o
26obj-$(CONFIG_PPC64) += idle_power4.o 33obj-$(CONFIG_PPC64) += setup_64.o misc_64.o
27obj-$(CONFIG_PPC64) += misc_64.o
28ifeq ($(CONFIG_PPC32),y)
29obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o 34obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o
30obj-$(CONFIG_MODULES) += ppc_ksyms.o 35obj-$(CONFIG_MODULES) += ppc_ksyms.o
31endif
32obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o
33obj-$(CONFIG_BOOTX_TEXT) += btext.o 36obj-$(CONFIG_BOOTX_TEXT) += btext.o
34 37
35ifeq ($(CONFIG_PPC_ISERIES),y) 38ifeq ($(CONFIG_PPC_ISERIES),y)