xref: /linux/arch/powerpc/platforms/pseries/Makefile (revision 5a1ea4774ddc2c6bc3ba1415880091eccf1a901e)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21fbe9cf2SAnton Blanchardccflags-$(CONFIG_PPC64)			:= $(NO_MINIMAL_TOC)
34108d9baSmatt mooneyccflags-$(CONFIG_PPC_PSERIES_DEBUG)	+= -DDEBUG
436f8a2c4SMichael Ellerman
5bed59275SStephen Rothwellobj-y			:= lpar.o hvCall.o nvram.o reconfig.o \
6948ad1acSAndy Shevchenko			   of_helpers.o \
732c96f77SMark Nelson			   setup.o iommu.o event_sources.o ras.o \
844f2aecfSMichael Ellerman			   firmware.o power.o dlpar.o mobility.o rng.o \
9f7688056SMichael Ellerman			   pci.o pci_dlpar.o eeh_pseries.o msi.o
1069a80d3fSPaul Mackerrasobj-$(CONFIG_SMP)	+= smp.o
11f6d3577dSDavid Gibsonobj-$(CONFIG_SCANLOG)	+= scanlog.o
12da665885SThiago Jung Bauermannobj-$(CONFIG_KEXEC_CORE)	+= kexec.o
135742bd85SVaidyanathan Srinivasanobj-$(CONFIG_PSERIES_ENERGY)	+= pseries_energy.o
147568cb4eSPaul Mackerras
150332c2d4SMichael Ellermanobj-$(CONFIG_HOTPLUG_CPU)	+= hotplug-cpu.o
164c5d87dbSOliver O'Halloranobj-$(CONFIG_MEMORY_HOTPLUG)	+= hotplug-memory.o pmem.o
170332c2d4SMichael Ellerman
187568cb4eSPaul Mackerrasobj-$(CONFIG_HVC_CONSOLE)	+= hvconsole.o
197568cb4eSPaul Mackerrasobj-$(CONFIG_HVCS)		+= hvcserver.o
2057852a85SMike Kravetzobj-$(CONFIG_HCALL_STATS)	+= hvCall_inst.o
2184af458bSBrian Kingobj-$(CONFIG_CMM)		+= cmm.o
22fc59a3fcSJeremy Kerrobj-$(CONFIG_DTL)		+= dtl.o
2377eafe10STseng-Hui (Frank) Linobj-$(CONFIG_IO_EVENT_IRQ)	+= io_event_irq.o
2483c93e2bSBenjamin Herrenschmidtobj-$(CONFIG_LPARCFG)		+= lparcfg.o
25139ac5afSMichael Ellermanobj-$(CONFIG_IBMVIO)		+= vio.o
2630757de2SMichael Ellermanobj-$(CONFIG_IBMEBUS)		+= ibmebus.o
27b5beae5eSOliver O'Halloranobj-$(CONFIG_PAPR_SCM)		+= papr_scm.o
28*5a1ea477SNaveen N. Raoobj-$(CONFIG_PPC_SPLPAR)	+= vphn.o
2932d8ad4eSBrian King
30badf436fSRodrigo R. Galvaoifdef CONFIG_PPC_PSERIES
3132d8ad4eSBrian Kingobj-$(CONFIG_SUSPEND)		+= suspend.o
3232d8ad4eSBrian Kingendif
33