xref: /linux/arch/powerpc/platforms/pseries/Makefile (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg 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
1657b53926SBadari Pulavartyobj-$(CONFIG_MEMORY_HOTPLUG)	+= hotplug-memory.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
2732d8ad4eSBrian King
2832d8ad4eSBrian Kingifeq ($(CONFIG_PPC_PSERIES),y)
2932d8ad4eSBrian Kingobj-$(CONFIG_SUSPEND)		+= suspend.o
3032d8ad4eSBrian Kingendif
31