xref: /linux/arch/powerpc/platforms/pseries/Makefile (revision ccadf154cb00b9ee9618d209aa3efc54b35a34b4)
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 \
93c14b734SPratik R. Sampat			   pci.o pci_dlpar.o eeh_pseries.o msi.o \
1090d5ce82SNicholas Piggin			   papr_platform_attributes.o dtl.o
1169a80d3fSPaul Mackerrasobj-$(CONFIG_SMP)	+= smp.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
2277eafe10STseng-Hui (Frank) Linobj-$(CONFIG_IO_EVENT_IRQ)	+= io_event_irq.o
2383c93e2bSBenjamin Herrenschmidtobj-$(CONFIG_LPARCFG)		+= lparcfg.o
24139ac5afSMichael Ellermanobj-$(CONFIG_IBMVIO)		+= vio.o
2530757de2SMichael Ellermanobj-$(CONFIG_IBMEBUS)		+= ibmebus.o
26b5beae5eSOliver O'Halloranobj-$(CONFIG_PAPR_SCM)		+= papr_scm.o
275a1ea477SNaveen N. Raoobj-$(CONFIG_PPC_SPLPAR)	+= vphn.o
28d5394c05SAnshuman Khandualobj-$(CONFIG_PPC_SVM)		+= svm.o
29d3833a70SHari Bathiniobj-$(CONFIG_FA_DUMP)		+= rtas-fadump.o
302454a7afSNayna Jainobj-$(CONFIG_PSERIES_PLPKS)	+= plpks.o
31*ccadf154SRussell Curreyobj-$(CONFIG_PPC_SECURE_BOOT)	+= plpks-secvar.o
3232d8ad4eSBrian Kingobj-$(CONFIG_SUSPEND)		+= suspend.o
33b903737bSHaren Myneniobj-$(CONFIG_PPC_VAS)		+= vas.o vas-sysfs.o
34bfebd37eSTom Lendacky
35bfebd37eSTom Lendackyobj-$(CONFIG_ARCH_HAS_CC_PLATFORM)	+= cc_platform.o
362ab2d579SDaniel Axtens
3741b7a347SDaniel Axtens# nothing that operates in real mode is safe for KASAN
3841b7a347SDaniel AxtensKASAN_SANITIZE_ras.o := n
392ab2d579SDaniel AxtensKASAN_SANITIZE_kexec.o := n
40