xref: /linux/arch/powerpc/platforms/pseries/Makefile (revision 707827f3387d9b260d50fa697885a4042cea3bf4)
14108d9baSmatt mooneyccflags-$(CONFIG_PPC64)			:= -mno-minimal-toc
24108d9baSmatt mooneyccflags-$(CONFIG_PPC_PSERIES_DEBUG)	+= -DDEBUG
336f8a2c4SMichael Ellerman
4bed59275SStephen Rothwellobj-y			:= lpar.o hvCall.o nvram.o reconfig.o \
532c96f77SMark Nelson			   setup.o iommu.o event_sources.o ras.o \
6410bccf9SNathan Fontenot			   firmware.o power.o dlpar.o mobility.o
769a80d3fSPaul Mackerrasobj-$(CONFIG_SMP)	+= smp.o
8f6d3577dSDavid Gibsonobj-$(CONFIG_SCANLOG)	+= scanlog.o
9e1d04c97SLinas Vepstasobj-$(CONFIG_EEH)	+= eeh.o eeh_cache.o eeh_driver.o eeh_event.o eeh_sysfs.o
10dce623e0SMichael Ellermanobj-$(CONFIG_KEXEC)	+= kexec.o
11bed59275SStephen Rothwellobj-$(CONFIG_PCI)	+= pci.o pci_dlpar.o
121bac0221SMichael Ellermanobj-$(CONFIG_PSERIES_MSI)	+= msi.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
216ac26c8aSManish Ahujaobj-$(CONFIG_PHYP_DUMP)		+= phyp_dump.o
2284af458bSBrian Kingobj-$(CONFIG_CMM)		+= cmm.o
23fc59a3fcSJeremy Kerrobj-$(CONFIG_DTL)		+= dtl.o
2477eafe10STseng-Hui (Frank) Linobj-$(CONFIG_IO_EVENT_IRQ)	+= io_event_irq.o
25*707827f3SDeepthi Dharwarobj-$(CONFIG_PSERIES_IDLE)	+= processor_idle.o
2632d8ad4eSBrian King
2732d8ad4eSBrian Kingifeq ($(CONFIG_PPC_PSERIES),y)
2832d8ad4eSBrian Kingobj-$(CONFIG_SUSPEND)		+= suspend.o
2932d8ad4eSBrian Kingendif
30