mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-13 23:56:59 +07:00
e7e2d2da26
All of the things needed for 32-bit ARCH=powerpc builds have now moved to arch/powerpc/kernel, so we don't need to go down into arch/ppc/kernel any more, and we can remove the CONFIG_PPC_MERGE conditional from arch/ppc/kernel/Makefile. There were two files still referenced in the merge section of arch/ppc/kernel/Makefile: ppc-stub.o, depending on CONFIG_KGDB, and dma-mapping.o, depending on CONFIG_NOT_COHERENT_CACHE. None of the platforms currently in ARCH=powerpc have caches that aren't coherent with DMA, but when we do get one we'll move dma-mapping.c over. As for CONFIG_KGDB, none of the Kconfig files in the tree define it, so I'll let it languish for now. Signed-off-by: Paul Mackerras <paulus@samba.org>
25 lines
680 B
Makefile
25 lines
680 B
Makefile
#
|
|
# Makefile for the linux kernel.
|
|
#
|
|
extra-$(CONFIG_PPC_STD_MMU) := head.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-y += vmlinux.lds
|
|
|
|
obj-y := entry.o traps.o time.o misc.o \
|
|
setup.o \
|
|
ppc_htab.o
|
|
obj-$(CONFIG_MODULES) += ppc_ksyms.o
|
|
obj-$(CONFIG_NOT_COHERENT_CACHE) += dma-mapping.o
|
|
obj-$(CONFIG_PCI) += pci.o
|
|
obj-$(CONFIG_RAPIDIO) += rio.o
|
|
obj-$(CONFIG_KGDB) += ppc-stub.o
|
|
obj-$(CONFIG_SMP) += smp.o smp-tbsync.o
|
|
obj-$(CONFIG_KEXEC) += machine_kexec.o relocate_kernel.o
|
|
|
|
ifndef CONFIG_MATH_EMULATION
|
|
obj-$(CONFIG_8xx) += softemu8xx.o
|
|
endif
|