Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the linux kernel. |
| 3 | # |
| 4 | |
| 5 | CFLAGS_prom_init.o += -fPIC |
| 6 | CFLAGS_btext.o += -fPIC |
| 7 | |
| 8 | wdt-mpc8xx-$(CONFIG_8xx_WDT) += m8xx_wdt.o |
| 9 | |
| 10 | obj-$(CONFIG_PPCBUG_NVRAM) += prep_nvram.o |
| 11 | obj-$(CONFIG_PPC_OCP) += ocp.o |
| 12 | obj-$(CONFIG_IBM_OCP) += ibm_ocp.o |
| 13 | obj-$(CONFIG_44x) += ibm44x_common.o |
Matt Porter | c9cf73a | 2005-07-31 22:34:52 -0700 | [diff] [blame] | 14 | obj-$(CONFIG_440EP) += ibm440gx_common.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | obj-$(CONFIG_440GP) += ibm440gp_common.o |
| 16 | obj-$(CONFIG_440GX) += ibm440gx_common.o |
| 17 | obj-$(CONFIG_440SP) += ibm440gx_common.o ibm440sp_common.o |
Roland Dreier | b0f7b8b | 2005-11-07 00:58:13 -0800 | [diff] [blame] | 18 | obj-$(CONFIG_440SPE) += ibm440gx_common.o ibm440sp_common.o ppc440spe_pcie.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | ifeq ($(CONFIG_4xx),y) |
| 20 | ifeq ($(CONFIG_VIRTEX_II_PRO),y) |
| 21 | obj-$(CONFIG_40x) += xilinx_pic.o |
| 22 | else |
| 23 | ifeq ($(CONFIG_403),y) |
| 24 | obj-$(CONFIG_40x) += ppc403_pic.o |
| 25 | else |
| 26 | obj-$(CONFIG_40x) += ppc4xx_pic.o |
| 27 | endif |
| 28 | endif |
| 29 | obj-$(CONFIG_44x) += ppc4xx_pic.o |
| 30 | obj-$(CONFIG_40x) += ppc4xx_setup.o |
| 31 | obj-$(CONFIG_GEN_RTC) += todc_time.o |
| 32 | obj-$(CONFIG_PPC4xx_DMA) += ppc4xx_dma.o |
| 33 | obj-$(CONFIG_PPC4xx_EDMA) += ppc4xx_sgdma.o |
| 34 | ifeq ($(CONFIG_40x),y) |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 35 | obj-$(CONFIG_PCI) += pci_auto.o ppc405_pci.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 36 | endif |
| 37 | endif |
Vitaly Bordug | 514ccd4 | 2005-09-16 19:28:00 -0700 | [diff] [blame] | 38 | obj-$(CONFIG_8xx) += m8xx_setup.o ppc8xx_pic.o $(wdt-mpc8xx-y) \ |
| 39 | ppc_sys.o mpc8xx_devices.o mpc8xx_sys.o |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 40 | obj-$(CONFIG_PCI_QSPAN) += qspan_pci.o |
Paul Mackerras | 3e63b9e | 2005-10-17 20:11:03 +1000 | [diff] [blame] | 41 | obj-$(CONFIG_PPC_OF) += prom_init.o prom.o |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 42 | obj-$(CONFIG_PPC_CHRP) += open_pic.o |
| 43 | obj-$(CONFIG_PPC_PREP) += open_pic.o todc_time.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 44 | obj-$(CONFIG_BAMBOO) += pci_auto.o todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 45 | obj-$(CONFIG_CPCI690) += todc_time.o pci_auto.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 46 | obj-$(CONFIG_EBONY) += pci_auto.o todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 47 | obj-$(CONFIG_EV64260) += todc_time.o pci_auto.o |
Lee Nicks | 2104da9 | 2005-11-07 00:58:10 -0800 | [diff] [blame] | 48 | obj-$(CONFIG_EV64360) += todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 49 | obj-$(CONFIG_CHESTNUT) += mv64360_pic.o pci_auto.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 50 | obj-$(CONFIG_GEMINI) += open_pic.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 51 | obj-$(CONFIG_GT64260) += gt64260_pic.o |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 52 | obj-$(CONFIG_LOPEC) += pci_auto.o todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_HDPU) += pci_auto.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 54 | obj-$(CONFIG_LUAN) += pci_auto.o todc_time.o |
Roland Dreier | 90eb266 | 2005-11-07 00:58:14 -0800 | [diff] [blame] | 55 | obj-$(CONFIG_YUCCA) += pci_auto.o todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 56 | obj-$(CONFIG_KATANA) += pci_auto.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 57 | obj-$(CONFIG_MV64360) += mv64360_pic.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 58 | obj-$(CONFIG_MV64X60) += mv64x60.o mv64x60_win.o |
| 59 | obj-$(CONFIG_MVME5100) += open_pic.o todc_time.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 60 | pci_auto.o hawk_common.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 61 | obj-$(CONFIG_OCOTEA) += pci_auto.o todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 62 | obj-$(CONFIG_PAL4) += cpc700_pic.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 63 | obj-$(CONFIG_POWERPMC250) += pci_auto.o |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 64 | obj-$(CONFIG_PPLUS) += hawk_common.o open_pic.o \ |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 65 | todc_time.o pci_auto.o |
| 66 | obj-$(CONFIG_PRPMC750) += open_pic.o pci_auto.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 67 | hawk_common.o |
| 68 | obj-$(CONFIG_HARRIER) += harrier.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 69 | obj-$(CONFIG_PRPMC800) += open_pic.o pci_auto.o |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 70 | obj-$(CONFIG_RADSTONE_PPC7D) += pci_auto.o |
| 71 | obj-$(CONFIG_SANDPOINT) += pci_auto.o todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 72 | obj-$(CONFIG_SBC82xx) += todc_time.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 73 | obj-$(CONFIG_SPRUCE) += cpc700_pic.o pci_auto.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 74 | todc_time.o |
Kumar Gala | 8e8fff0 | 2005-09-03 15:55:34 -0700 | [diff] [blame] | 75 | obj-$(CONFIG_8260) += m8260_setup.o pq2_devices.o pq2_sys.o \ |
| 76 | ppc_sys.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 77 | obj-$(CONFIG_PCI_8260) += m82xx_pci.o pci_auto.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 78 | obj-$(CONFIG_8260_PCI9) += m8260_pci_erratum9.o |
| 79 | obj-$(CONFIG_CPM2) += cpm2_common.o cpm2_pic.o |
| 80 | ifeq ($(CONFIG_PPC_GEN550),y) |
| 81 | obj-$(CONFIG_KGDB) += gen550_kgdb.o gen550_dbg.o |
| 82 | obj-$(CONFIG_SERIAL_TEXT_DEBUG) += gen550_dbg.o |
| 83 | endif |
| 84 | ifeq ($(CONFIG_SERIAL_MPSC_CONSOLE),y) |
| 85 | obj-$(CONFIG_SERIAL_TEXT_DEBUG) += mv64x60_dbg.o |
| 86 | endif |
| 87 | obj-$(CONFIG_BOOTX_TEXT) += btext.o |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 88 | obj-$(CONFIG_MPC10X_BRIDGE) += mpc10x_common.o ppc_sys.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 89 | obj-$(CONFIG_MPC10X_OPENPIC) += open_pic.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 90 | obj-$(CONFIG_85xx) += open_pic.o ppc85xx_common.o ppc85xx_setup.o \ |
Paul Mackerras | f9bd170 | 2005-10-26 16:47:42 +1000 | [diff] [blame] | 91 | ppc_sys.o mpc85xx_sys.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 92 | mpc85xx_devices.o |
| 93 | ifeq ($(CONFIG_85xx),y) |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 94 | obj-$(CONFIG_PCI) += pci_auto.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 95 | endif |
Matt Porter | c099af7 | 2005-11-08 21:34:34 -0800 | [diff] [blame] | 96 | obj-$(CONFIG_RAPIDIO) += ppc85xx_rio.o |
Kumar Gala | 1cd8e50 | 2005-11-14 12:54:33 -0600 | [diff] [blame] | 97 | obj-$(CONFIG_83xx) += ppc83xx_setup.o ppc_sys.o \ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 98 | mpc83xx_sys.o mpc83xx_devices.o |
| 99 | ifeq ($(CONFIG_83xx),y) |
Paul Mackerras | 25635c7 | 2005-10-26 16:36:55 +1000 | [diff] [blame] | 100 | obj-$(CONFIG_PCI) += pci_auto.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 101 | endif |
Kumar Gala | c91999b | 2005-06-21 17:15:19 -0700 | [diff] [blame] | 102 | obj-$(CONFIG_MPC8548_CDS) += todc_time.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 103 | obj-$(CONFIG_MPC8555_CDS) += todc_time.o |
| 104 | obj-$(CONFIG_PPC_MPC52xx) += mpc52xx_setup.o mpc52xx_pic.o \ |
| 105 | mpc52xx_sys.o mpc52xx_devices.o ppc_sys.o |
| 106 | ifeq ($(CONFIG_PPC_MPC52xx),y) |
| 107 | obj-$(CONFIG_PCI) += mpc52xx_pci.o |
| 108 | endif |