Michael Ellerman | ba55bd7 | 2009-06-09 20:48:51 +0000 | [diff] [blame] | 1 | subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror |
| 2 | |
Anton Blanchard | 8555a00 | 2006-06-10 20:23:54 +1000 | [diff] [blame] | 3 | ifeq ($(CONFIG_PPC64),y) |
| 4 | EXTRA_CFLAGS += -mno-minimal-toc |
| 5 | endif |
| 6 | |
Olof Johansson | 38958dd | 2007-12-12 17:44:46 +1100 | [diff] [blame] | 7 | mpic-msi-obj-$(CONFIG_PCI_MSI) += mpic_msi.o mpic_u3msi.o mpic_pasemi_msi.o |
Michael Ellerman | a7de7c7 | 2007-05-08 12:58:36 +1000 | [diff] [blame] | 8 | obj-$(CONFIG_MPIC) += mpic.o $(mpic-msi-obj-y) |
Jason Jin | 34e36c1 | 2008-05-23 16:32:46 +0800 | [diff] [blame] | 9 | fsl-msi-obj-$(CONFIG_PCI_MSI) += fsl_msi.o |
Michael Ellerman | 7e30286 | 2008-08-06 09:10:01 +1000 | [diff] [blame] | 10 | obj-$(CONFIG_PPC_MSI_BITMAP) += msi_bitmap.o |
Michael Ellerman | a7de7c7 | 2007-05-08 12:58:36 +1000 | [diff] [blame] | 11 | |
Paul Mackerras | 830825d | 2005-10-26 17:16:38 +1000 | [diff] [blame] | 12 | obj-$(CONFIG_PPC_MPC106) += grackle.o |
Kumar Gala | 45d8e7a | 2006-12-10 23:15:47 -0600 | [diff] [blame] | 13 | obj-$(CONFIG_PPC_DCR_NATIVE) += dcr-low.o |
Christian Krafft | 0e82664 | 2007-02-14 14:09:45 +0100 | [diff] [blame] | 14 | obj-$(CONFIG_PPC_PMI) += pmi.o |
Benjamin Herrenschmidt | 1beb6a7 | 2005-12-14 13:10:10 +1100 | [diff] [blame] | 15 | obj-$(CONFIG_U3_DART) += dart_iommu.o |
Arnd Bergmann | edf03c1 | 2005-10-31 20:08:40 -0500 | [diff] [blame] | 16 | obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o |
Kumar Gala | eed3200 | 2006-01-13 11:19:13 -0600 | [diff] [blame] | 17 | obj-$(CONFIG_FSL_SOC) += fsl_soc.o |
Jason Jin | 34e36c1 | 2008-05-23 16:32:46 +0800 | [diff] [blame] | 18 | obj-$(CONFIG_FSL_PCI) += fsl_pci.o $(fsl-msi-obj-y) |
Anton Vorontsov | acaa7aa | 2008-04-11 21:03:40 +0400 | [diff] [blame] | 19 | obj-$(CONFIG_FSL_LBC) += fsl_lbc.o |
Anton Vorontsov | 83ff9dc | 2008-05-23 20:38:54 +0400 | [diff] [blame] | 20 | obj-$(CONFIG_FSL_GTM) += fsl_gtm.o |
Peter Korsgaard | 1e16dfc | 2008-09-23 17:35:38 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_MPC8xxx_GPIO) += mpc8xxx_gpio.o |
Anton Vorontsov | 3d64de9 | 2008-12-18 19:37:26 +0300 | [diff] [blame] | 22 | obj-$(CONFIG_SIMPLE_GPIO) += simple_gpio.o |
Kumar Gala | de3c8d4 | 2008-01-23 06:12:06 -0600 | [diff] [blame] | 23 | obj-$(CONFIG_RAPIDIO) += fsl_rio.o |
Zang Roy-r61911 | 2b9d746 | 2006-06-13 15:07:23 +0800 | [diff] [blame] | 24 | obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o |
Li Yang | 9865853 | 2006-10-03 23:10:46 -0500 | [diff] [blame] | 25 | obj-$(CONFIG_QUICC_ENGINE) += qe_lib/ |
Sylvain Munaut | 2f9ea1b | 2007-09-16 20:53:27 +1000 | [diff] [blame] | 26 | obj-$(CONFIG_PPC_BESTCOMM) += bestcomm/ |
Dale Farnsworth | e1a3107 | 2007-05-12 10:57:12 +1000 | [diff] [blame] | 27 | mv64x60-$(CONFIG_PCI) += mv64x60_pci.o |
Dale Farnsworth | 9b41fcb | 2007-05-15 05:52:22 +1000 | [diff] [blame] | 28 | obj-$(CONFIG_MV64X60) += $(mv64x60-y) mv64x60_pic.o mv64x60_dev.o \ |
| 29 | mv64x60_udbg.o |
Wade Farnsworth | 93ab471 | 2007-07-11 02:55:46 +1000 | [diff] [blame] | 30 | obj-$(CONFIG_RTC_DRV_CMOS) += rtc_cmos_setup.o |
Maxim Shchetynin | dbdf04c | 2007-07-20 21:39:26 +0200 | [diff] [blame] | 31 | obj-$(CONFIG_AXON_RAM) += axonram.o |
Benjamin Herrenschmidt | f63e115 | 2006-07-03 19:36:30 +1000 | [diff] [blame] | 32 | |
Kumar Gala | 7d52c7b | 2007-06-22 00:23:57 -0500 | [diff] [blame] | 33 | obj-$(CONFIG_PPC_INDIRECT_PCI) += indirect_pci.o |
Benjamin Herrenschmidt | f63e115 | 2006-07-03 19:36:30 +1000 | [diff] [blame] | 34 | obj-$(CONFIG_PPC_I8259) += i8259.o |
John Rigby | b0bbad6 | 2008-01-17 17:05:31 -0700 | [diff] [blame] | 35 | obj-$(CONFIG_IPIC) += ipic.o |
David Gibson | e58923e | 2007-04-18 16:36:26 +1000 | [diff] [blame] | 36 | obj-$(CONFIG_4xx) += uic.o |
Stefan Roese | 2a70691 | 2008-03-26 22:39:50 +1100 | [diff] [blame] | 37 | obj-$(CONFIG_4xx_SOC) += ppc4xx_soc.o |
Grant Likely | 4dc9783 | 2007-10-02 12:15:23 +1000 | [diff] [blame] | 38 | obj-$(CONFIG_XILINX_VIRTEX) += xilinx_intc.o |
Roderick Colenbrander | 64f1650 | 2009-06-06 10:14:22 -0600 | [diff] [blame] | 39 | obj-$(CONFIG_XILINX_PCI) += xilinx_pci.o |
David Gibson | 22258fa | 2008-01-11 14:25:34 +1100 | [diff] [blame] | 40 | obj-$(CONFIG_OF_RTC) += of_rtc.o |
Benjamin Herrenschmidt | 5738ec6 | 2007-12-21 15:39:22 +1100 | [diff] [blame] | 41 | ifeq ($(CONFIG_PCI),y) |
| 42 | obj-$(CONFIG_4xx) += ppc4xx_pci.o |
| 43 | endif |
Steven A. Falco | 878e755 | 2008-10-13 06:04:09 +0000 | [diff] [blame] | 44 | obj-$(CONFIG_PPC4xx_GPIO) += ppc4xx_gpio.o |
Vitaly Bordug | b0c110b | 2006-09-21 22:18:53 +0400 | [diff] [blame] | 45 | |
Scott Wood | c374e00 | 2007-07-16 11:43:43 -0500 | [diff] [blame] | 46 | obj-$(CONFIG_CPM) += cpm_common.o |
Jochen Friedrich | b5677d8 | 2008-01-25 15:31:42 +0100 | [diff] [blame] | 47 | obj-$(CONFIG_CPM2) += cpm2.o cpm2_pic.o |
Anton Vorontsov | 5093bb9 | 2008-05-23 20:39:06 +0400 | [diff] [blame] | 48 | obj-$(CONFIG_QUICC_ENGINE) += cpm_common.o |
Grant Likely | 4c3d514 | 2007-10-04 15:44:51 -0600 | [diff] [blame] | 49 | obj-$(CONFIG_PPC_DCR) += dcr.o |
Jochen Friedrich | b5677d8 | 2008-01-25 15:31:42 +0100 | [diff] [blame] | 50 | obj-$(CONFIG_8xx) += mpc8xx_pic.o cpm1.o |
Vitaly Bordug | f2a0bd3 | 2007-01-24 22:41:24 +0300 | [diff] [blame] | 51 | obj-$(CONFIG_UCODE_PATCH) += micropatch.o |
Scott Wood | 0b2cca8 | 2008-04-29 01:38:13 +1000 | [diff] [blame] | 52 | |
Wolfgang Denk | 87c441e | 2009-06-17 00:30:22 -0600 | [diff] [blame^] | 53 | obj-$(CONFIG_PPC_MPC512x) += mpc5xxx_clocks.o |
| 54 | obj-$(CONFIG_PPC_MPC52xx) += mpc5xxx_clocks.o |
| 55 | |
Scott Wood | 0b2cca8 | 2008-04-29 01:38:13 +1000 | [diff] [blame] | 56 | ifeq ($(CONFIG_SUSPEND),y) |
| 57 | obj-$(CONFIG_6xx) += 6xx-suspend.o |
| 58 | endif |