blob: 9d4b17462f1308815b29a18368fbb14b37d9e9e6 [file] [log] [blame]
Michael Ellermanba55bd72009-06-09 20:48:51 +00001subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
2
Anton Blanchard8555a002006-06-10 20:23:54 +10003ifeq ($(CONFIG_PPC64),y)
4EXTRA_CFLAGS += -mno-minimal-toc
5endif
6
Olof Johansson38958dd2007-12-12 17:44:46 +11007mpic-msi-obj-$(CONFIG_PCI_MSI) += mpic_msi.o mpic_u3msi.o mpic_pasemi_msi.o
Michael Ellermana7de7c72007-05-08 12:58:36 +10008obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y)
Jason Jin34e36c12008-05-23 16:32:46 +08009fsl-msi-obj-$(CONFIG_PCI_MSI) += fsl_msi.o
Michael Ellerman7e302862008-08-06 09:10:01 +100010obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
Michael Ellermana7de7c72007-05-08 12:58:36 +100011
Paul Mackerras830825d2005-10-26 17:16:38 +100012obj-$(CONFIG_PPC_MPC106) += grackle.o
Kumar Gala45d8e7a2006-12-10 23:15:47 -060013obj-$(CONFIG_PPC_DCR_NATIVE) += dcr-low.o
Christian Krafft0e826642007-02-14 14:09:45 +010014obj-$(CONFIG_PPC_PMI) += pmi.o
Benjamin Herrenschmidt1beb6a72005-12-14 13:10:10 +110015obj-$(CONFIG_U3_DART) += dart_iommu.o
Arnd Bergmannedf03c12005-10-31 20:08:40 -050016obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o
Kumar Galaeed32002006-01-13 11:19:13 -060017obj-$(CONFIG_FSL_SOC) += fsl_soc.o
Jason Jin34e36c12008-05-23 16:32:46 +080018obj-$(CONFIG_FSL_PCI) += fsl_pci.o $(fsl-msi-obj-y)
Anton Vorontsovacaa7aa2008-04-11 21:03:40 +040019obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
Anton Vorontsov83ff9dc2008-05-23 20:38:54 +040020obj-$(CONFIG_FSL_GTM) += fsl_gtm.o
Peter Korsgaard1e16dfc2008-09-23 17:35:38 +020021obj-$(CONFIG_MPC8xxx_GPIO) += mpc8xxx_gpio.o
Anton Vorontsov3d64de92008-12-18 19:37:26 +030022obj-$(CONFIG_SIMPLE_GPIO) += simple_gpio.o
Kumar Galade3c8d42008-01-23 06:12:06 -060023obj-$(CONFIG_RAPIDIO) += fsl_rio.o
Zang Roy-r619112b9d7462006-06-13 15:07:23 +080024obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
Li Yang98658532006-10-03 23:10:46 -050025obj-$(CONFIG_QUICC_ENGINE) += qe_lib/
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +100026obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
Dale Farnsworthe1a31072007-05-12 10:57:12 +100027mv64x60-$(CONFIG_PCI) += mv64x60_pci.o
Dale Farnsworth9b41fcb2007-05-15 05:52:22 +100028obj-$(CONFIG_MV64X60) += $(mv64x60-y) mv64x60_pic.o mv64x60_dev.o \
29 mv64x60_udbg.o
Wade Farnsworth93ab4712007-07-11 02:55:46 +100030obj-$(CONFIG_RTC_DRV_CMOS) += rtc_cmos_setup.o
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +020031obj-$(CONFIG_AXON_RAM) += axonram.o
Benjamin Herrenschmidtf63e1152006-07-03 19:36:30 +100032
Kumar Gala7d52c7b2007-06-22 00:23:57 -050033obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o
Benjamin Herrenschmidtf63e1152006-07-03 19:36:30 +100034obj-$(CONFIG_PPC_I8259) += i8259.o
John Rigbyb0bbad62008-01-17 17:05:31 -070035obj-$(CONFIG_IPIC) += ipic.o
David Gibsone58923e2007-04-18 16:36:26 +100036obj-$(CONFIG_4xx) += uic.o
Stefan Roese2a706912008-03-26 22:39:50 +110037obj-$(CONFIG_4xx_SOC) += ppc4xx_soc.o
Grant Likely4dc97832007-10-02 12:15:23 +100038obj-$(CONFIG_XILINX_VIRTEX) += xilinx_intc.o
Roderick Colenbrander64f16502009-06-06 10:14:22 -060039obj-$(CONFIG_XILINX_PCI) += xilinx_pci.o
David Gibson22258fa2008-01-11 14:25:34 +110040obj-$(CONFIG_OF_RTC) += of_rtc.o
Benjamin Herrenschmidt5738ec62007-12-21 15:39:22 +110041ifeq ($(CONFIG_PCI),y)
42obj-$(CONFIG_4xx) += ppc4xx_pci.o
43endif
Steven A. Falco878e7552008-10-13 06:04:09 +000044obj-$(CONFIG_PPC4xx_GPIO) += ppc4xx_gpio.o
Vitaly Bordugb0c110b2006-09-21 22:18:53 +040045
Scott Woodc374e002007-07-16 11:43:43 -050046obj-$(CONFIG_CPM) += cpm_common.o
Jochen Friedrichb5677d82008-01-25 15:31:42 +010047obj-$(CONFIG_CPM2) += cpm2.o cpm2_pic.o
Anton Vorontsov5093bb92008-05-23 20:39:06 +040048obj-$(CONFIG_QUICC_ENGINE) += cpm_common.o
Grant Likely4c3d5142007-10-04 15:44:51 -060049obj-$(CONFIG_PPC_DCR) += dcr.o
Jochen Friedrichb5677d82008-01-25 15:31:42 +010050obj-$(CONFIG_8xx) += mpc8xx_pic.o cpm1.o
Vitaly Bordugf2a0bd32007-01-24 22:41:24 +030051obj-$(CONFIG_UCODE_PATCH) += micropatch.o
Scott Wood0b2cca82008-04-29 01:38:13 +100052
Wolfgang Denk87c441e2009-06-17 00:30:22 -060053obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o
54obj-$(CONFIG_PPC_MPC52xx) += mpc5xxx_clocks.o
55
Scott Wood0b2cca82008-04-29 01:38:13 +100056ifeq ($(CONFIG_SUSPEND),y)
57obj-$(CONFIG_6xx) += 6xx-suspend.o
58endif