powerpc: Rename files to have consistent _32/_64 suffixes
[deliverable/linux.git] / arch / powerpc / kernel / Makefile
1 #
2 # Makefile for the linux kernel.
3 #
4
5 ifeq ($(CONFIG_PPC64),y)
6 EXTRA_CFLAGS += -mno-minimal-toc
7 endif
8 ifeq ($(CONFIG_PPC32),y)
9 CFLAGS_prom_init.o += -fPIC
10 CFLAGS_btext.o += -fPIC
11 endif
12
13 extra-$(CONFIG_PPC_STD_MMU) := head_32.o
14 extra-$(CONFIG_PPC64) := head_64.o
15 extra-$(CONFIG_40x) := head_4xx.o
16 extra-$(CONFIG_44x) := head_44x.o
17 extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
18 extra-$(CONFIG_8xx) := head_8xx.o
19 extra-$(CONFIG_6xx) += idle_6xx.o
20 extra-$(CONFIG_PPC_FPU) += fpu.o
21 extra-y += vmlinux.lds
22
23 obj-y := traps.o prom.o semaphore.o
24 obj-$(CONFIG_PPC32) += setup_32.o process.o
25 obj-$(CONFIG_PPC64) += idle_power4.o
26 ifeq ($(CONFIG_PPC32),y)
27 obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o
28 obj-$(CONFIG_MODULES) += ppc_ksyms.o
29 endif
30 obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o
31 obj-$(CONFIG_BOOTX_TEXT) += btext.o
32
33 ifeq ($(CONFIG_PPC_ISERIES),y)
34 arch/powerpc/kernel/head_64.o: arch/powerpc/platforms/iseries/lparmap.s
35 AFLAGS_head_64.o += -Iarch/powerpc/platforms/iseries
36 endif
This page took 0.034627 seconds and 6 git commands to generate.