Makefile (292dcc86dd69e343630ab49ce96a418345c174fc) | Makefile (9b6b563c0d2d25ecc3111916031aa7255543fbfb) |
---|---|
1# 2# Makefile for the linux kernel. 3# 4 5ifeq ($(CONFIG_PPC64),y) 6EXTRA_CFLAGS += -mno-minimal-toc 7endif | 1# 2# Makefile for the linux kernel. 3# 4 5ifeq ($(CONFIG_PPC64),y) 6EXTRA_CFLAGS += -mno-minimal-toc 7endif |
8 | |
9ifeq ($(CONFIG_PPC32),y) | 8ifeq ($(CONFIG_PPC32),y) |
10extra-$(CONFIG_PPC_STD_MMU) := head.o | 9CFLAGS_prom_init.o += -fPIC |
11endif | 10endif |
11 12extra-$(CONFIG_PPC_STD_MMU) := head.o |
|
12extra-$(CONFIG_PPC64) := head_64.o 13extra-$(CONFIG_40x) := head_4xx.o 14extra-$(CONFIG_44x) := head_44x.o 15extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 16extra-$(CONFIG_8xx) := head_8xx.o 17extra-$(CONFIG_6xx) += idle_6xx.o 18extra-$(CONFIG_PPC_FPU) += fpu.o 19extra-y += vmlinux.lds 20 | 13extra-$(CONFIG_PPC64) := head_64.o 14extra-$(CONFIG_40x) := head_4xx.o 15extra-$(CONFIG_44x) := head_44x.o 16extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o 17extra-$(CONFIG_8xx) := head_8xx.o 18extra-$(CONFIG_6xx) += idle_6xx.o 19extra-$(CONFIG_PPC_FPU) += fpu.o 20extra-y += vmlinux.lds 21 |
21obj-y := traps.o 22obj-$(CONFIG_PPC32) += semaphore.o process.o | 22obj-y := traps.o prom.o semaphore.o 23obj-$(CONFIG_PPC32) += setup.o process.o |
23obj-$(CONFIG_PPC64) += idle_power4.o 24ifeq ($(CONFIG_PPC32),y) | 24obj-$(CONFIG_PPC64) += idle_power4.o 25ifeq ($(CONFIG_PPC32),y) |
26obj-$(CONFIG_PPC_OF) += prom_init.o |
|
25obj-$(CONFIG_MODULES) += ppc_ksyms.o 26endif 27obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o | 27obj-$(CONFIG_MODULES) += ppc_ksyms.o 28endif 29obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o |
30obj-$(CONFIG_BOOTX_TEXT) += btext.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 | 31 32ifeq ($(CONFIG_PPC_ISERIES),y) 33arch/powerpc/kernel/head_64.o: arch/powerpc/platforms/iseries/lparmap.s 34AFLAGS_head_64.o += -Iarch/powerpc/platforms/iseries 35endif |