blob: 93541b39dd12d978717e3e1152e02030322efb02 [file] [log] [blame]
Anton Blanchard8555a002006-06-10 20:23:54 +10001ifeq ($(CONFIG_PPC64),y)
2EXTRA_CFLAGS += -mno-minimal-toc
3endif
4
Michael Ellerman36f8a2c2008-04-24 15:13:21 +10005ifeq ($(CONFIG_PPC_PSERIES_DEBUG),y)
6EXTRA_CFLAGS += -DDEBUG
7endif
8
Stephen Rothwellbed59272007-03-04 17:04:44 +11009obj-y := lpar.o hvCall.o nvram.o reconfig.o \
Mark Nelson32c96f72010-05-18 22:51:00 +000010 setup.o iommu.o event_sources.o ras.o \
Nathan Fontenot410bccf2010-09-10 09:42:36 +000011 firmware.o power.o dlpar.o mobility.o
Paul Mackerras69a80d32005-10-10 22:03:41 +100012obj-$(CONFIG_SMP) += smp.o
David Gibson007e8f52005-10-28 15:35:50 +100013obj-$(CONFIG_XICS) += xics.o
David Gibsonf6d35772005-11-10 12:42:17 +110014obj-$(CONFIG_SCANLOG) += scanlog.o
Linas Vepstase1d04c92007-05-24 03:16:46 +100015obj-$(CONFIG_EEH) += eeh.o eeh_cache.o eeh_driver.o eeh_event.o eeh_sysfs.o
Michael Ellermandce623e2007-02-08 18:33:55 +110016obj-$(CONFIG_KEXEC) += kexec.o
Stephen Rothwellbed59272007-03-04 17:04:44 +110017obj-$(CONFIG_PCI) += pci.o pci_dlpar.o
Michael Ellerman1bac0222009-03-05 17:36:39 +000018obj-$(CONFIG_PSERIES_MSI) += msi.o
Paul Mackerras7568cb42005-11-14 17:30:17 +110019
Michael Ellerman0332c2d2006-12-05 17:52:36 +110020obj-$(CONFIG_HOTPLUG_CPU) += hotplug-cpu.o
Badari Pulavarty57b53922008-04-18 13:33:50 -070021obj-$(CONFIG_MEMORY_HOTPLUG) += hotplug-memory.o
Michael Ellerman0332c2d2006-12-05 17:52:36 +110022
Paul Mackerras7568cb42005-11-14 17:30:17 +110023obj-$(CONFIG_HVC_CONSOLE) += hvconsole.o
24obj-$(CONFIG_HVCS) += hvcserver.o
Mike Kravetz57852a82006-09-06 16:23:12 -070025obj-$(CONFIG_HCALL_STATS) += hvCall_inst.o
Manish Ahuja6ac26c82008-03-22 10:37:08 +110026obj-$(CONFIG_PHYP_DUMP) += phyp_dump.o
Brian King84af4582008-07-24 04:30:29 +100027obj-$(CONFIG_CMM) += cmm.o
Jeremy Kerrfc59a3f2009-03-11 17:55:52 +000028obj-$(CONFIG_DTL) += dtl.o
Brian King32d8ad42010-07-07 12:31:02 +000029
30ifeq ($(CONFIG_PPC_PSERIES),y)
31obj-$(CONFIG_SUSPEND) += suspend.o
32endif