mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 03:47:43 +00:00
70d64ceaa1
This doesn't change any code, just renames things so we consistently have foo_32.c and foo_64.c where we have separate 32- and 64-bit versions. Signed-off-by: Paul Mackerras <paulus@samba.org>
37 lines
999 B
Makefile
37 lines
999 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
|
|
ifeq ($(CONFIG_PPC64),y)
|
|
EXTRA_CFLAGS += -mno-minimal-toc
|
|
endif
|
|
ifeq ($(CONFIG_PPC32),y)
|
|
CFLAGS_prom_init.o += -fPIC
|
|
CFLAGS_btext.o += -fPIC
|
|
endif
|
|
|
|
extra-$(CONFIG_PPC_STD_MMU) := head_32.o
|
|
extra-$(CONFIG_PPC64) := head_64.o
|
|
extra-$(CONFIG_40x) := head_4xx.o
|
|
extra-$(CONFIG_44x) := head_44x.o
|
|
extra-$(CONFIG_FSL_BOOKE) := head_fsl_booke.o
|
|
extra-$(CONFIG_8xx) := head_8xx.o
|
|
extra-$(CONFIG_6xx) += idle_6xx.o
|
|
extra-$(CONFIG_PPC_FPU) += fpu.o
|
|
extra-y += vmlinux.lds
|
|
|
|
obj-y := traps.o prom.o semaphore.o
|
|
obj-$(CONFIG_PPC32) += setup_32.o process.o
|
|
obj-$(CONFIG_PPC64) += idle_power4.o
|
|
ifeq ($(CONFIG_PPC32),y)
|
|
obj-$(CONFIG_PPC_OF) += prom_init.o of_device.o
|
|
obj-$(CONFIG_MODULES) += ppc_ksyms.o
|
|
endif
|
|
obj-$(CONFIG_ALTIVEC) += vecemu.o vector.o
|
|
obj-$(CONFIG_BOOTX_TEXT) += btext.o
|
|
|
|
ifeq ($(CONFIG_PPC_ISERIES),y)
|
|
arch/powerpc/kernel/head_64.o: arch/powerpc/platforms/iseries/lparmap.s
|
|
AFLAGS_head_64.o += -Iarch/powerpc/platforms/iseries
|
|
endif
|