aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel/Makefile
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2005-09-30 02:16:52 -0400
committerStephen Rothwell <sfr@canb.auug.org.au>2005-10-01 04:52:10 -0400
commitcabb558714945e92000f627dda562aa5e86a31af (patch)
tree595cd75dad072224041260afb220d7fce3164e53 /arch/powerpc/kernel/Makefile
parentbd142b70a6bd5522f7d95f0cec06091b93bb0715 (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/Makefile9
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)
6EXTRA_CFLAGS += -mno-minimal-toc 6EXTRA_CFLAGS += -mno-minimal-toc
7endif 7endif
8 8
9ifeq ($(CONFIG_PPC32),y)
9extra-$(CONFIG_PPC_STD_MMU) := head.o 10extra-$(CONFIG_PPC_STD_MMU) := head.o
10extra_$(CONFIG_PPC64) := head_64.o 11endif
12extra-$(CONFIG_PPC64) := head_64.o
11extra-$(CONFIG_40x) := head_4xx.o 13extra-$(CONFIG_40x) := head_4xx.o
12extra-$(CONFIG_44x) := head_44x.o 14extra-$(CONFIG_44x) := head_44x.o
13extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 15extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
@@ -23,3 +25,8 @@ ifeq ($(CONFIG_PPC32),y)
23obj-$(CONFIG_MODULES) += ppc_ksyms.o 25obj-$(CONFIG_MODULES) += ppc_ksyms.o
24endif 26endif
25obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o 27obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o
28
29ifeq ($(CONFIG_PPC_ISERIES),y)
30arch/powerpc/kernel/head_64.o: arch/powerpc/platforms/iseries/lparmap.s
31AFLAGS_head_64.o += -Iarch/powerpc/platforms/iseries
32endif