diff options
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) |