diff options
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 | ||