xref: /linux/arch/powerpc/platforms/pseries/Makefile (revision 1fbe9cf2598dae3bd464d860bd89c67b1ff8682b)
1*1fbe9cf2SAnton Blanchardccflags-$(CONFIG_PPC64)			:= $(NO_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
955037d17SGavin Shanobj-$(CONFIG_EEH)	+= eeh.o eeh_pe.o eeh_dev.o eeh_cache.o \
1055037d17SGavin Shan			   eeh_driver.o eeh_event.o eeh_sysfs.o \
1155037d17SGavin Shan			   eeh_pseries.o
12dce623e0SMichael Ellermanobj-$(CONFIG_KEXEC)	+= kexec.o
13bed59275SStephen Rothwellobj-$(CONFIG_PCI)	+= pci.o pci_dlpar.o
141bac0221SMichael Ellermanobj-$(CONFIG_PSERIES_MSI)	+= msi.o
155742bd85SVaidyanathan Srinivasanobj-$(CONFIG_PSERIES_ENERGY)	+= pseries_energy.o
167568cb4eSPaul Mackerras
170332c2d4SMichael Ellermanobj-$(CONFIG_HOTPLUG_CPU)	+= hotplug-cpu.o
1857b53926SBadari Pulavartyobj-$(CONFIG_MEMORY_HOTPLUG)	+= hotplug-memory.o
190332c2d4SMichael Ellerman
207568cb4eSPaul Mackerrasobj-$(CONFIG_HVC_CONSOLE)	+= hvconsole.o
217568cb4eSPaul Mackerrasobj-$(CONFIG_HVCS)		+= hvcserver.o
2257852a85SMike Kravetzobj-$(CONFIG_HCALL_STATS)	+= hvCall_inst.o
2384af458bSBrian Kingobj-$(CONFIG_CMM)		+= cmm.o
24fc59a3fcSJeremy Kerrobj-$(CONFIG_DTL)		+= dtl.o
2577eafe10STseng-Hui (Frank) Linobj-$(CONFIG_IO_EVENT_IRQ)	+= io_event_irq.o
26707827f3SDeepthi Dharwarobj-$(CONFIG_PSERIES_IDLE)	+= processor_idle.o
2732d8ad4eSBrian King
2832d8ad4eSBrian Kingifeq ($(CONFIG_PPC_PSERIES),y)
2932d8ad4eSBrian Kingobj-$(CONFIG_SUSPEND)		+= suspend.o
3032d8ad4eSBrian Kingendif
31