aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-10-18 00:19:41 -0400
committerPaul Mackerras <paulus@samba.org>2005-10-18 00:19:41 -0400
commit77f543cb467c44960bafa6c91f5af75919d693e4 (patch)
treeeebf9705cb750be7db8ced19d58bd6c4db0e573e /arch/powerpc/kernel/Makefile
parent81e7009ea46c951860b8716ee427ff4f54dd26fc (diff)
powerpc: Fix various compile errors with ARCH=ppc, ppc64 and powerpc
This makes ppc use the syscalls.c from arch/powerpc/kernel, exports copy_and_flush from head_32.S for use by prom_init.c (ARCH=powerpc), and consolidates the sys_fadvise64_64 implementations for 32-bit. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 043ddd09521d..01b6d630edc9 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -10,7 +10,8 @@ CFLAGS_prom_init.o += -fPIC
10CFLAGS_btext.o += -fPIC 10CFLAGS_btext.o += -fPIC
11endif 11endif
12 12
13obj-y := semaphore.o cputable.o ptrace.o signal_32.o 13obj-y := semaphore.o cputable.o ptrace.o syscalls.o \
14 signal_32.o
14obj-$(CONFIG_PPC64) += binfmt_elf32.o sys_ppc32.o 15obj-$(CONFIG_PPC64) += binfmt_elf32.o sys_ppc32.o
15obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o 16obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o
16obj-$(CONFIG_POWER4) += idle_power4.o 17obj-$(CONFIG_POWER4) += idle_power4.o
@@ -24,14 +25,13 @@ extra-$(CONFIG_40x) := head_4xx.o
24extra-$(CONFIG_44x) := head_44x.o 25extra-$(CONFIG_44x) := head_44x.o
25extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 26extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
26extra-$(CONFIG_8xx) := head_8xx.o 27extra-$(CONFIG_8xx) := head_8xx.o
27extra-$(CONFIG_6xx) += idle_6xx.o
28extra-$(CONFIG_PPC64) += entry_64.o 28extra-$(CONFIG_PPC64) += entry_64.o
29extra-$(CONFIG_PPC_FPU) += fpu.o 29extra-$(CONFIG_PPC_FPU) += fpu.o
30extra-y += vmlinux.lds 30extra-y += vmlinux.lds
31 31
32obj-y += process.o init_task.o \ 32obj-y += process.o init_task.o \
33 prom.o systbl.o traps.o syscalls.o 33 prom.o systbl.o traps.o
34obj-$(CONFIG_PPC32) += entry_32.o setup_32.o misc_32.o 34obj-$(CONFIG_PPC32) += entry_32.o idle_6xx.o setup_32.o misc_32.o
35obj-$(CONFIG_PPC64) += setup_64.o misc_64.o 35obj-$(CONFIG_PPC64) += setup_64.o misc_64.o
36obj-$(CONFIG_PPC_OF) += prom_init.o 36obj-$(CONFIG_PPC_OF) += prom_init.o
37obj-$(CONFIG_MODULES) += ppc_ksyms.o 37obj-$(CONFIG_MODULES) += ppc_ksyms.o
@@ -44,7 +44,7 @@ endif
44 44
45else 45else
46# stuff used from here for ARCH=ppc or ARCH=ppc64 46# stuff used from here for ARCH=ppc or ARCH=ppc64
47obj-$(CONFIG_PPC64) += traps.o process.o init_task.o syscalls.o 47obj-$(CONFIG_PPC64) += traps.o process.o init_task.o
48 48
49fpux-$(CONFIG_PPC32) += fpu.o 49fpux-$(CONFIG_PPC32) += fpu.o
50extra-$(CONFIG_PPC_FPU) += $(fpux-y) 50extra-$(CONFIG_PPC_FPU) += $(fpux-y)