xref: /linux/arch/powerpc/platforms/pseries/Makefile (revision 32d8ad4e621d6620e925cf540ef1d35aa6fa5a7b)
18555a002SAnton Blanchardifeq ($(CONFIG_PPC64),y)
28555a002SAnton BlanchardEXTRA_CFLAGS		+= -mno-minimal-toc
38555a002SAnton Blanchardendif
48555a002SAnton Blanchard
536f8a2c4SMichael Ellermanifeq ($(CONFIG_PPC_PSERIES_DEBUG),y)
636f8a2c4SMichael EllermanEXTRA_CFLAGS		+= -DDEBUG
736f8a2c4SMichael Ellermanendif
836f8a2c4SMichael Ellerman
9bed59275SStephen Rothwellobj-y			:= lpar.o hvCall.o nvram.o reconfig.o \
1032c96f77SMark Nelson			   setup.o iommu.o event_sources.o ras.o \
11ab519a01SNathan Fontenot			   firmware.o power.o dlpar.o
1269a80d3fSPaul Mackerrasobj-$(CONFIG_SMP)	+= smp.o
13007e8f51SDavid Gibsonobj-$(CONFIG_XICS)	+= xics.o
14f6d3577dSDavid Gibsonobj-$(CONFIG_SCANLOG)	+= scanlog.o
15e1d04c97SLinas Vepstasobj-$(CONFIG_EEH)	+= eeh.o eeh_cache.o eeh_driver.o eeh_event.o eeh_sysfs.o
16dce623e0SMichael Ellermanobj-$(CONFIG_KEXEC)	+= kexec.o
17bed59275SStephen Rothwellobj-$(CONFIG_PCI)	+= pci.o pci_dlpar.o
181bac0221SMichael Ellermanobj-$(CONFIG_PSERIES_MSI)	+= msi.o
197568cb4eSPaul Mackerras
200332c2d4SMichael Ellermanobj-$(CONFIG_HOTPLUG_CPU)	+= hotplug-cpu.o
2157b53926SBadari Pulavartyobj-$(CONFIG_MEMORY_HOTPLUG)	+= hotplug-memory.o
220332c2d4SMichael Ellerman
237568cb4eSPaul Mackerrasobj-$(CONFIG_HVC_CONSOLE)	+= hvconsole.o
247568cb4eSPaul Mackerrasobj-$(CONFIG_HVCS)		+= hvcserver.o
2557852a85SMike Kravetzobj-$(CONFIG_HCALL_STATS)	+= hvCall_inst.o
266ac26c8aSManish Ahujaobj-$(CONFIG_PHYP_DUMP)	+= phyp_dump.o
2784af458bSBrian Kingobj-$(CONFIG_CMM)		+= cmm.o
28fc59a3fcSJeremy Kerrobj-$(CONFIG_DTL)		+= dtl.o
29*32d8ad4eSBrian King
30*32d8ad4eSBrian Kingifeq ($(CONFIG_PPC_PSERIES),y)
31*32d8ad4eSBrian Kingobj-$(CONFIG_SUSPEND)		+= suspend.o
32*32d8ad4eSBrian Kingendif
33