blob: 5b492a6438ffa8723ca9e78feaa17d92bff57da2 [file] [log] [blame]
Michael Ellermanba55bd72009-06-09 20:48:51 +00001subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
2
Anton Blanchard1fbe9cf2012-11-26 17:41:08 +00003ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC)
Anton Blanchard8555a002006-06-10 20:23:54 +10004
Michael Ellerman5af7a6f2015-04-10 11:52:06 +10005mpic-msi-obj-$(CONFIG_PCI_MSI) += mpic_msi.o mpic_u3msi.o
Michael Ellermana7de7c72007-05-08 12:58:36 +10006obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y)
Dongsheng.wang@freescale.com36ca09b2013-04-09 10:22:30 +08007obj-$(CONFIG_MPIC_TIMER) += mpic_timer.o
Dongsheng.wang@freescale.coma63b3bc2013-04-09 10:22:32 +08008obj-$(CONFIG_FSL_MPIC_TIMER_WAKEUP) += fsl_mpic_timer_wakeup.o
Jia Hongtao86268162012-02-17 10:49:03 +08009mpic-msgr-obj-$(CONFIG_MPIC_MSGR) += mpic_msgr.o
10obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y) $(mpic-msgr-obj-y)
Ashish Kalra3a932612011-05-19 08:54:28 -050011obj-$(CONFIG_PPC_EPAPR_HV_PIC) += ehv_pic.o
Jason Jin34e36c12008-05-23 16:32:46 +080012fsl-msi-obj-$(CONFIG_PCI_MSI) += fsl_msi.o
Michael Ellerman7e302862008-08-06 09:10:01 +100013obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o
Michael Ellermana7de7c72007-05-08 12:58:36 +100014
Paul Mackerras830825d2005-10-26 17:16:38 +100015obj-$(CONFIG_PPC_MPC106) += grackle.o
Kumar Gala45d8e7a2006-12-10 23:15:47 -060016obj-$(CONFIG_PPC_DCR_NATIVE) += dcr-low.o
Christian Krafft0e826642007-02-14 14:09:45 +010017obj-$(CONFIG_PPC_PMI) += pmi.o
Benjamin Herrenschmidt1beb6a72005-12-14 13:10:10 +110018obj-$(CONFIG_U3_DART) += dart_iommu.o
Arnd Bergmannedf03c12005-10-31 20:08:40 -050019obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o
Varun Sethi0a408162012-08-08 09:36:09 +053020obj-$(CONFIG_FSL_SOC) += fsl_soc.o fsl_mpic_err.o
Jason Jin34e36c12008-05-23 16:32:46 +080021obj-$(CONFIG_FSL_PCI) += fsl_pci.o $(fsl-msi-obj-y)
Anton Vorontsov4ffd6952009-09-16 01:43:57 +040022obj-$(CONFIG_FSL_PMC) += fsl_pmc.o
Anton Vorontsovacaa7aa2008-04-11 21:03:40 +040023obj-$(CONFIG_FSL_LBC) += fsl_lbc.o
Anton Vorontsov83ff9dc2008-05-23 20:38:54 +040024obj-$(CONFIG_FSL_GTM) += fsl_gtm.o
Harninder Rai6db92cc2010-10-13 17:30:56 +053025obj-$(CONFIG_FSL_85XX_CACHE_SRAM) += fsl_85xx_l2ctlr.o fsl_85xx_cache_sram.o
Anton Vorontsov3d64de92008-12-18 19:37:26 +030026obj-$(CONFIG_SIMPLE_GPIO) += simple_gpio.o
Liu Gang6ec4bed2011-11-12 20:02:28 +080027obj-$(CONFIG_FSL_RIO) += fsl_rio.o fsl_rmu.o
Zang Roy-r619112b9d7462006-06-13 15:07:23 +080028obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o
Li Yang98658532006-10-03 23:10:46 -050029obj-$(CONFIG_QUICC_ENGINE) += qe_lib/
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
Vinh Nguyen Huu Tuongc19d8242012-07-02 22:52:30 +000040obj-$(CONFIG_PPC4xx_OCM) += ppc4xx_ocm.o
Stefan Roese2a706912008-03-26 22:39:50 +110041obj-$(CONFIG_4xx_SOC) += ppc4xx_soc.o
Grant Likely4dc97832007-10-02 12:15:23 +100042obj-$(CONFIG_XILINX_VIRTEX) += xilinx_intc.o
Roderick Colenbrander64f16502009-06-06 10:14:22 -060043obj-$(CONFIG_XILINX_PCI) += xilinx_pci.o
David Gibson22258fa2008-01-11 14:25:34 +110044obj-$(CONFIG_OF_RTC) += of_rtc.o
Benjamin Herrenschmidt5738ec62007-12-21 15:39:22 +110045ifeq ($(CONFIG_PCI),y)
46obj-$(CONFIG_4xx) += ppc4xx_pci.o
47endif
Alistair Popplee2c37d92014-03-06 14:52:28 +110048obj-$(CONFIG_PPC4xx_HSTA_MSI) += ppc4xx_hsta_msi.o
Rupjyoti Sarmah3fb79332011-03-29 23:10:24 +000049obj-$(CONFIG_PPC4xx_MSI) += ppc4xx_msi.o
Victor Gallardod164f6d2010-10-08 10:25:27 +000050obj-$(CONFIG_PPC4xx_CPM) += ppc4xx_cpm.o
Steven A. Falco878e7552008-10-13 06:04:09 +000051obj-$(CONFIG_PPC4xx_GPIO) += ppc4xx_gpio.o
Vitaly Bordugb0c110b2006-09-21 22:18:53 +040052
Scott Woodc374e002007-07-16 11:43:43 -050053obj-$(CONFIG_CPM) += cpm_common.o
Jochen Friedrichb5677d82008-01-25 15:31:42 +010054obj-$(CONFIG_CPM2) += cpm2.o cpm2_pic.o
Anton Vorontsov5093bb92008-05-23 20:39:06 +040055obj-$(CONFIG_QUICC_ENGINE) += cpm_common.o
Grant Likely4c3d5142007-10-04 15:44:51 -060056obj-$(CONFIG_PPC_DCR) += dcr.o
Jochen Friedrichb5677d82008-01-25 15:31:42 +010057obj-$(CONFIG_8xx) += mpc8xx_pic.o cpm1.o
Vitaly Bordugf2a0bd32007-01-24 22:41:24 +030058obj-$(CONFIG_UCODE_PATCH) += micropatch.o
Scott Wood0b2cca82008-04-29 01:38:13 +100059
Wolfgang Denk87c441e2009-06-17 00:30:22 -060060obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o
61obj-$(CONFIG_PPC_MPC52xx) += mpc5xxx_clocks.o
62
Scott Wood0b2cca82008-04-29 01:38:13 +100063ifeq ($(CONFIG_SUSPEND),y)
64obj-$(CONFIG_6xx) += 6xx-suspend.o
65endif
Benjamin Herrenschmidt0b05ac62011-04-04 13:46:58 +100066
Benjamin Herrenschmidtab814b92011-04-14 22:31:58 +000067obj-$(CONFIG_PPC_SCOM) += scom.o
68
Alistair Popple30650232013-04-29 18:07:47 +000069obj-$(CONFIG_PPC_EARLY_DEBUG_MEMCONS) += udbg_memcons.o
70
Benjamin Herrenschmidt0b05ac62011-04-04 13:46:58 +100071subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror
72
73obj-$(CONFIG_PPC_XICS) += xics/
Martyn Welch44b24b72012-03-12 17:12:59 +000074
75obj-$(CONFIG_GE_FPGA) += ge/