blob: a57600b3a4e3667534c5dc7eb5cd2a188edd8425 [file] [log] [blame]
Michael Ellermanba55bd72009-06-09 20:48:51 +00001subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
2
matt mooney4108d9b2010-09-22 20:51:09 +00003ccflags-$(CONFIG_PPC64) := -mno-minimal-toc
Anton Blanchard8555a002006-06-10 20:23:54 +10004
Olof Johansson38958dd2007-12-12 17:44:46 +11005mpic-msi-obj-$(CONFIG_PCI_MSI) += mpic_msi.o mpic_u3msi.o mpic_pasemi_msi.o
Michael Ellermana7de7c72007-05-08 12:58:36 +10006obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y)
Jia Hongtao86268162012-02-17 10:49:03 +08007mpic-msgr-obj-$(CONFIG_MPIC_MSGR) += mpic_msgr.o
8obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y) $(mpic-msgr-obj-y)
Ashish Kalra3a932612011-05-19 08:54:28 -05009obj-$(CONFIG_PPC_EPAPR_HV_PIC) += ehv_pic.o
Jason Jin34e36c12008-05-23 16:32:46 +080010fsl-msi-obj-$(CONFIG_PCI_MSI) += fsl_msi.o
Michael Ellerman7e302862008-08-06 09:10:01 +100011obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
Michael Ellermana7de7c72007-05-08 12:58:36 +100012
Paul Mackerras830825d2005-10-26 17:16:38 +100013obj-$(CONFIG_PPC_MPC106) += grackle.o
Kumar Gala45d8e7a2006-12-10 23:15:47 -060014obj-$(CONFIG_PPC_DCR_NATIVE) += dcr-low.o
Christian Krafft0e826642007-02-14 14:09:45 +010015obj-$(CONFIG_PPC_PMI) += pmi.o
Benjamin Herrenschmidt1beb6a72005-12-14 13:10:10 +110016obj-$(CONFIG_U3_DART) += dart_iommu.o
Arnd Bergmannedf03c12005-10-31 20:08:40 -050017obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o
Varun Sethi0a408162012-08-08 09:36:09 +053018obj-$(CONFIG_FSL_SOC) += fsl_soc.o fsl_mpic_err.o
Jason Jin34e36c12008-05-23 16:32:46 +080019obj-$(CONFIG_FSL_PCI) += fsl_pci.o $(fsl-msi-obj-y)
Anton Vorontsov4ffd6952009-09-16 01:43:57 +040020obj-$(CONFIG_FSL_PMC) += fsl_pmc.o
Anton Vorontsovacaa7aa2008-04-11 21:03:40 +040021obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
Prabhakar Kushwahaa20cbde2011-12-27 17:39:13 +053022obj-$(CONFIG_FSL_IFC) += fsl_ifc.o
Anton Vorontsov83ff9dc2008-05-23 20:38:54 +040023obj-$(CONFIG_FSL_GTM) += fsl_gtm.o
Harninder Rai6db92cc2010-10-13 17:30:56 +053024obj-$(CONFIG_FSL_85XX_CACHE_SRAM) += fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o
Anton Vorontsov3d64de92008-12-18 19:37:26 +030025obj-$(CONFIG_SIMPLE_GPIO) += simple_gpio.o
Liu Gang6ec4bed2011-11-12 20:02:28 +080026obj-$(CONFIG_FSL_RIO) += fsl_rio.o fsl_rmu.o
Zang Roy-r619112b9d7462006-06-13 15:07:23 +080027obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
Li Yang98658532006-10-03 23:10:46 -050028obj-$(CONFIG_QUICC_ENGINE) += qe_lib/
Sylvain Munaut2f9ea1b2007-09-16 20:53:27 +100029obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/
Dale Farnsworthe1a31072007-05-12 10:57:12 +100030mv64x60-$(CONFIG_PCI) += mv64x60_pci.o
Dale Farnsworth9b41fcb2007-05-15 05:52:22 +100031obj-$(CONFIG_MV64X60) += $(mv64x60-y) mv64x60_pic.o mv64x60_dev.o \
32 mv64x60_udbg.o
Wade Farnsworth93ab4712007-07-11 02:55:46 +100033obj-$(CONFIG_RTC_DRV_CMOS) += rtc_cmos_setup.o
Maxim Shchetynindbdf04c2007-07-20 21:39:26 +020034obj-$(CONFIG_AXON_RAM) += axonram.o
Benjamin Herrenschmidtf63e1152006-07-03 19:36:30 +100035
Kumar Gala7d52c7b2007-06-22 00:23:57 -050036obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o
Benjamin Herrenschmidtf63e1152006-07-03 19:36:30 +100037obj-$(CONFIG_PPC_I8259) += i8259.o
John Rigbyb0bbad62008-01-17 17:05:31 -070038obj-$(CONFIG_IPIC) += ipic.o
David Gibsone58923e2007-04-18 16:36:26 +100039obj-$(CONFIG_4xx) += uic.o
Stefan Roese2a706912008-03-26 22:39:50 +110040obj-$(CONFIG_4xx_SOC) += ppc4xx_soc.o
Grant Likely4dc97832007-10-02 12:15:23 +100041obj-$(CONFIG_XILINX_VIRTEX) += xilinx_intc.o
Roderick Colenbrander64f16502009-06-06 10:14:22 -060042obj-$(CONFIG_XILINX_PCI) += xilinx_pci.o
David Gibson22258fa2008-01-11 14:25:34 +110043obj-$(CONFIG_OF_RTC) += of_rtc.o
Benjamin Herrenschmidt5738ec62007-12-21 15:39:22 +110044ifeq ($(CONFIG_PCI),y)
45obj-$(CONFIG_4xx) += ppc4xx_pci.o
46endif
Rupjyoti Sarmah3fb79332011-03-29 23:10:24 +000047obj-$(CONFIG_PPC4xx_MSI) += ppc4xx_msi.o
Victor Gallardod164f6d2010-10-08 10:25:27 +000048obj-$(CONFIG_PPC4xx_CPM) += ppc4xx_cpm.o
Steven A. Falco878e7552008-10-13 06:04:09 +000049obj-$(CONFIG_PPC4xx_GPIO) += ppc4xx_gpio.o
Vitaly Bordugb0c110b2006-09-21 22:18:53 +040050
Scott Woodc374e002007-07-16 11:43:43 -050051obj-$(CONFIG_CPM) += cpm_common.o
Jochen Friedrichb5677d82008-01-25 15:31:42 +010052obj-$(CONFIG_CPM2) += cpm2.o cpm2_pic.o
Anton Vorontsov5093bb92008-05-23 20:39:06 +040053obj-$(CONFIG_QUICC_ENGINE) += cpm_common.o
Grant Likely4c3d5142007-10-04 15:44:51 -060054obj-$(CONFIG_PPC_DCR) += dcr.o
Jochen Friedrichb5677d82008-01-25 15:31:42 +010055obj-$(CONFIG_8xx) += mpc8xx_pic.o cpm1.o
Vitaly Bordugf2a0bd32007-01-24 22:41:24 +030056obj-$(CONFIG_UCODE_PATCH) += micropatch.o
Scott Wood0b2cca82008-04-29 01:38:13 +100057
Wolfgang Denk87c441e2009-06-17 00:30:22 -060058obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o
59obj-$(CONFIG_PPC_MPC52xx) += mpc5xxx_clocks.o
60
Scott Wood0b2cca82008-04-29 01:38:13 +100061ifeq ($(CONFIG_SUSPEND),y)
62obj-$(CONFIG_6xx) += 6xx-suspend.o
63endif
Benjamin Herrenschmidt0b05ac62011-04-04 13:46:58 +100064
Benjamin Herrenschmidtab814b92011-04-14 22:31:58 +000065obj-$(CONFIG_PPC_SCOM) += scom.o
66
Benjamin Herrenschmidt0b05ac62011-04-04 13:46:58 +100067subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
68
69obj-$(CONFIG_PPC_XICS) += xics/
Martyn Welch44b24b72012-03-12 17:12:59 +000070
71obj-$(CONFIG_GE_FPGA) += ge/