diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-09-30 02:16:52 -0400 |
---|---|---|
committer | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-10-01 04:52:10 -0400 |
commit | cabb558714945e92000f627dda562aa5e86a31af (patch) | |
tree | 595cd75dad072224041260afb220d7fce3164e53 /arch/powerpc/kernel/Makefile | |
parent | bd142b70a6bd5522f7d95f0cec06091b93bb0715 (diff) |
powerpc: make iSeries build
Merge vmlinux.lds.S.
Also remove arch/powerpc/kernel/vmlinux.lds which is a
generated file.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'arch/powerpc/kernel/Makefile')
-rw-r--r-- | arch/powerpc/kernel/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index b5eff3ef2f3d..be3f9d123a6d 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile | |||
@@ -6,8 +6,10 @@ ifeq ($(CONFIG_PPC64),y) | |||
6 | EXTRA_CFLAGS += -mno-minimal-toc | 6 | EXTRA_CFLAGS += -mno-minimal-toc |
7 | endif | 7 | endif |
8 | 8 | ||
9 | ifeq ($(CONFIG_PPC32),y) | ||
9 | extra-$(CONFIG_PPC_STD_MMU) := head.o | 10 | extra-$(CONFIG_PPC_STD_MMU) := head.o |
10 | extra_$(CONFIG_PPC64) := head_64.o | 11 | endif |
12 | extra-$(CONFIG_PPC64) := head_64.o | ||
11 | extra-$(CONFIG_40x) := head_4xx.o | 13 | extra-$(CONFIG_40x) := head_4xx.o |
12 | extra-$(CONFIG_44x) := head_44x.o | 14 | extra-$(CONFIG_44x) := head_44x.o |
13 | extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o | 15 | extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o |
@@ -23,3 +25,8 @@ ifeq ($(CONFIG_PPC32),y) | |||
23 | obj-$(CONFIG_MODULES) += ppc_ksyms.o | 25 | obj-$(CONFIG_MODULES) += ppc_ksyms.o |
24 | endif | 26 | endif |
25 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o | 27 | obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o |
28 | |||
29 | ifeq ($(CONFIG_PPC_ISERIES),y) | ||
30 | arch/powerpc/kernel/head_64.o: arch/powerpc/platforms/iseries/lparmap.s | ||
31 | AFLAGS_head_64.o += -Iarch/powerpc/platforms/iseries | ||
32 | endif | ||