blob: dca23f2ef851b1fd43c9d38cd8d688362e273fde [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#
2# Makefile for the linux kernel.
3#
4
5CFLAGS_prom_init.o += -fPIC
6CFLAGS_btext.o += -fPIC
7
8wdt-mpc8xx-$(CONFIG_8xx_WDT) += m8xx_wdt.o
9
10obj-$(CONFIG_PPCBUG_NVRAM) += prep_nvram.o
11obj-$(CONFIG_PPC_OCP) += ocp.o
12obj-$(CONFIG_IBM_OCP) += ibm_ocp.o
13obj-$(CONFIG_44x) += ibm44x_common.o
Matt Porterc9cf73a2005-07-31 22:34:52 -070014obj-$(CONFIG_440EP) += ibm440gx_common.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015obj-$(CONFIG_440GP) += ibm440gp_common.o
16obj-$(CONFIG_440GX) += ibm440gx_common.o
17obj-$(CONFIG_440SP) += ibm440gx_common.o ibm440sp_common.o
Roland Dreierb0f7b8b2005-11-07 00:58:13 -080018obj-$(CONFIG_440SPE) += ibm440gx_common.o ibm440sp_common.o ppc440spe_pcie.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070019ifeq ($(CONFIG_4xx),y)
Grant C. Likely562e7372006-01-19 01:12:40 -070020ifeq ($(CONFIG_XILINX_VIRTEX),y)
Grant C. Likelye27db622006-01-19 01:13:03 -070021obj-$(CONFIG_40x) += xilinx_pic.o ppc_sys.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070022else
23ifeq ($(CONFIG_403),y)
24obj-$(CONFIG_40x) += ppc403_pic.o
25else
26obj-$(CONFIG_40x) += ppc4xx_pic.o
27endif
28endif
29obj-$(CONFIG_44x) += ppc4xx_pic.o
30obj-$(CONFIG_40x) += ppc4xx_setup.o
31obj-$(CONFIG_GEN_RTC) += todc_time.o
32obj-$(CONFIG_PPC4xx_DMA) += ppc4xx_dma.o
33obj-$(CONFIG_PPC4xx_EDMA) += ppc4xx_sgdma.o
34ifeq ($(CONFIG_40x),y)
Paul Mackerras25635c72005-10-26 16:36:55 +100035obj-$(CONFIG_PCI) += pci_auto.o ppc405_pci.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070036endif
37endif
Vitaly Bordug514ccd42005-09-16 19:28:00 -070038obj-$(CONFIG_8xx) += m8xx_setup.o ppc8xx_pic.o $(wdt-mpc8xx-y) \
39 ppc_sys.o mpc8xx_devices.o mpc8xx_sys.o
Paul Mackerrasf9bd1702005-10-26 16:47:42 +100040obj-$(CONFIG_PCI_QSPAN) += qspan_pci.o
Paul Mackerrasf9bd1702005-10-26 16:47:42 +100041obj-$(CONFIG_PPC_PREP) += open_pic.o todc_time.o
Paul Mackerras25635c72005-10-26 16:36:55 +100042obj-$(CONFIG_BAMBOO) += pci_auto.o todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070043obj-$(CONFIG_CPCI690) += todc_time.o pci_auto.o
Paul Mackerras25635c72005-10-26 16:36:55 +100044obj-$(CONFIG_EBONY) += pci_auto.o todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070045obj-$(CONFIG_EV64260) += todc_time.o pci_auto.o
Lee Nicks2104da92005-11-07 00:58:10 -080046obj-$(CONFIG_EV64360) += todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070047obj-$(CONFIG_CHESTNUT) += mv64360_pic.o pci_auto.o
Paul Mackerras25635c72005-10-26 16:36:55 +100048obj-$(CONFIG_GEMINI) += open_pic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070049obj-$(CONFIG_GT64260) += gt64260_pic.o
Paul Mackerrasf9bd1702005-10-26 16:47:42 +100050obj-$(CONFIG_LOPEC) += pci_auto.o todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070051obj-$(CONFIG_HDPU) += pci_auto.o
Paul Mackerras25635c72005-10-26 16:36:55 +100052obj-$(CONFIG_LUAN) += pci_auto.o todc_time.o
Roland Dreier90eb2662005-11-07 00:58:14 -080053obj-$(CONFIG_YUCCA) += pci_auto.o todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070054obj-$(CONFIG_KATANA) += pci_auto.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070055obj-$(CONFIG_MV64360) += mv64360_pic.o
Paul Mackerras25635c72005-10-26 16:36:55 +100056obj-$(CONFIG_MV64X60) += mv64x60.o mv64x60_win.o
57obj-$(CONFIG_MVME5100) += open_pic.o todc_time.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070058 pci_auto.o hawk_common.o
Paul Mackerras25635c72005-10-26 16:36:55 +100059obj-$(CONFIG_OCOTEA) += pci_auto.o todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070060obj-$(CONFIG_PAL4) += cpc700_pic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070061obj-$(CONFIG_POWERPMC250) += pci_auto.o
Paul Mackerrasf9bd1702005-10-26 16:47:42 +100062obj-$(CONFIG_PPLUS) += hawk_common.o open_pic.o \
Paul Mackerras25635c72005-10-26 16:36:55 +100063 todc_time.o pci_auto.o
64obj-$(CONFIG_PRPMC750) += open_pic.o pci_auto.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070065 hawk_common.o
66obj-$(CONFIG_HARRIER) += harrier.o
Paul Mackerras25635c72005-10-26 16:36:55 +100067obj-$(CONFIG_PRPMC800) += open_pic.o pci_auto.o
Paul Mackerrasf9bd1702005-10-26 16:47:42 +100068obj-$(CONFIG_RADSTONE_PPC7D) += pci_auto.o
69obj-$(CONFIG_SANDPOINT) += pci_auto.o todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070070obj-$(CONFIG_SBC82xx) += todc_time.o
Paul Mackerras25635c72005-10-26 16:36:55 +100071obj-$(CONFIG_SPRUCE) += cpc700_pic.o pci_auto.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070072 todc_time.o
Kumar Gala8e8fff02005-09-03 15:55:34 -070073obj-$(CONFIG_8260) += m8260_setup.o pq2_devices.o pq2_sys.o \
74 ppc_sys.o
Paul Mackerras25635c72005-10-26 16:36:55 +100075obj-$(CONFIG_PCI_8260) += m82xx_pci.o pci_auto.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070076obj-$(CONFIG_8260_PCI9) += m8260_pci_erratum9.o
77obj-$(CONFIG_CPM2) += cpm2_common.o cpm2_pic.o
78ifeq ($(CONFIG_PPC_GEN550),y)
79obj-$(CONFIG_KGDB) += gen550_kgdb.o gen550_dbg.o
80obj-$(CONFIG_SERIAL_TEXT_DEBUG) += gen550_dbg.o
81endif
82ifeq ($(CONFIG_SERIAL_MPSC_CONSOLE),y)
83obj-$(CONFIG_SERIAL_TEXT_DEBUG) += mv64x60_dbg.o
84endif
85obj-$(CONFIG_BOOTX_TEXT) += btext.o
Paul Mackerras25635c72005-10-26 16:36:55 +100086obj-$(CONFIG_MPC10X_BRIDGE) += mpc10x_common.o ppc_sys.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070087obj-$(CONFIG_MPC10X_OPENPIC) += open_pic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070088obj-$(CONFIG_85xx) += open_pic.o ppc85xx_common.o ppc85xx_setup.o \
Paul Mackerrasf9bd1702005-10-26 16:47:42 +100089 ppc_sys.o mpc85xx_sys.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070090 mpc85xx_devices.o
91ifeq ($(CONFIG_85xx),y)
Paul Mackerras25635c72005-10-26 16:36:55 +100092obj-$(CONFIG_PCI) += pci_auto.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070093endif
Matt Porterc099af72005-11-08 21:34:34 -080094obj-$(CONFIG_RAPIDIO) += ppc85xx_rio.o
Kumar Gala1cd8e502005-11-14 12:54:33 -060095obj-$(CONFIG_83xx) += ppc83xx_setup.o ppc_sys.o \
Kim Phillipsbf4152d2006-08-25 11:58:53 -050096 mpc83xx_sys.o mpc83xx_devices.o ipic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070097ifeq ($(CONFIG_83xx),y)
Paul Mackerras25635c72005-10-26 16:36:55 +100098obj-$(CONFIG_PCI) += pci_auto.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070099endif
Kumar Galac91999b2005-06-21 17:15:19 -0700100obj-$(CONFIG_MPC8548_CDS) += todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700101obj-$(CONFIG_MPC8555_CDS) += todc_time.o
102obj-$(CONFIG_PPC_MPC52xx) += mpc52xx_setup.o mpc52xx_pic.o \
103 mpc52xx_sys.o mpc52xx_devices.o ppc_sys.o
104ifeq ($(CONFIG_PPC_MPC52xx),y)
105obj-$(CONFIG_PCI) += mpc52xx_pci.o
106endif
Benjamin Herrenschmidtf63e1152006-07-03 19:36:30 +1000107
108obj-$(CONFIG_PPC_I8259) += i8259.o