aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-09-29 23:51:25 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-01 04:51:12 -0400
commitbd142b70a6bd5522f7d95f0cec06091b93bb0715 (patch)
tree7982cf5585a88680e0ac55e71f0009790a5cb68b /arch/powerpc/kernel/Makefile
parentdc1c1ca3dcd94c545c5e01d7c06b46824d43f4d0 (diff)
ppc64: simplify the build a little
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r--arch/powerpc/kernel/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile
index 58c130b10ec8..b5eff3ef2f3d 100644
--- a/arch/powerpc/kernel/Makefile
+++ b/arch/powerpc/kernel/Makefile
@@ -2,6 +2,10 @@
2# Makefile for the linux kernel. 2# Makefile for the linux kernel.
3# 3#
4 4
5ifeq ($(CONFIG_PPC64),y)
6EXTRA_CFLAGS += -mno-minimal-toc
7endif
8
5extra-$(CONFIG_PPC_STD_MMU) := head.o 9extra-$(CONFIG_PPC_STD_MMU) := head.o
6extra_$(CONFIG_PPC64) := head_64.o 10extra_$(CONFIG_PPC64) := head_64.o
7extra-$(CONFIG_40x) := head_4xx.o 11extra-$(CONFIG_40x) := head_4xx.o
@@ -9,10 +13,13 @@ extra-$(CONFIG_44x) := head_44x.o
9extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 13extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
10extra-$(CONFIG_8xx) := head_8xx.o 14extra-$(CONFIG_8xx) := head_8xx.o
11extra-$(CONFIG_6xx) += idle_6xx.o 15extra-$(CONFIG_6xx) += idle_6xx.o
12extra-$(CONFIG_POWER4) += idle_power4.o
13extra-$(CONFIG_PPC_FPU) += fpu.o 16extra-$(CONFIG_PPC_FPU) += fpu.o
14extra-y += vmlinux.lds 17extra-y += vmlinux.lds
15 18
16obj-y := semaphore.o traps.o process.o 19obj-y := traps.o
20obj-$(CONFIG_PPC32) += semaphore.o process.o
21obj-$(CONFIG_PPC64) += idle_power4.o
22ifeq ($(CONFIG_PPC32),y)
17obj-$(CONFIG_MODULES) += ppc_ksyms.o 23obj-$(CONFIG_MODULES) += ppc_ksyms.o
24endif
18obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o 25obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o