diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-29 23:51:25 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-01 04:51:12 -0400 |
commit | bd142b70a6bd5522f7d95f0cec06091b93bb0715 (patch) | |
tree | 7982cf5585a88680e0ac55e71f0009790a5cb68b /arch/powerpc/kernel/Makefile | |
parent | dc1c1ca3dcd94c545c5e01d7c06b46824d43f4d0 (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/Makefile | 11 |
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 | ||
5 | ifeq ($(CONFIG_PPC64),y) | ||
6 | EXTRA_CFLAGS += -mno-minimal-toc | ||
7 | endif | ||
8 | |||
5 | extra-$(CONFIG_PPC_STD_MMU) := head.o | 9 | extra-$(CONFIG_PPC_STD_MMU) := head.o |
6 | extra_$(CONFIG_PPC64) := head_64.o | 10 | extra_$(CONFIG_PPC64) := head_64.o |
7 | extra-$(CONFIG_40x) := head_4xx.o | 11 | extra-$(CONFIG_40x) := head_4xx.o |
@@ -9,10 +13,13 @@ extra-$(CONFIG_44x) := head_44x.o | |||
9 | extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o | 13 | extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o |
10 | extra-$(CONFIG_8xx) := head_8xx.o | 14 | extra-$(CONFIG_8xx) := head_8xx.o |
11 | extra-$(CONFIG_6xx) += idle_6xx.o | 15 | extra-$(CONFIG_6xx) += idle_6xx.o |
12 | extra-$(CONFIG_POWER4) += idle_power4.o | ||
13 | extra-$(CONFIG_PPC_FPU) += fpu.o | 16 | extra-$(CONFIG_PPC_FPU) += fpu.o |
14 | extra-y += vmlinux.lds | 17 | extra-y += vmlinux.lds |
15 | 18 | ||
16 | obj-y := semaphore.o traps.o process.o | 19 | obj-y := traps.o |
20 | obj-$(CONFIG_PPC32) += semaphore.o process.o | ||
21 | obj-$(CONFIG_PPC64) += idle_power4.o | ||
22 | ifeq ($(CONFIG_PPC32),y) | ||
17 | obj-$(CONFIG_MODULES) += ppc_ksyms.o | 23 | obj-$(CONFIG_MODULES) += ppc_ksyms.o |
24 | endif | ||
18 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o | 25 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o |