blob: b8d08f33f7ee6c1d2309c8aa92f96f37a434c9a3 [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
18ifeq ($(CONFIG_4xx),y)
19ifeq ($(CONFIG_VIRTEX_II_PRO),y)
20obj-$(CONFIG_40x) += xilinx_pic.o
21else
22ifeq ($(CONFIG_403),y)
23obj-$(CONFIG_40x) += ppc403_pic.o
24else
25obj-$(CONFIG_40x) += ppc4xx_pic.o
26endif
27endif
28obj-$(CONFIG_44x) += ppc4xx_pic.o
29obj-$(CONFIG_40x) += ppc4xx_setup.o
30obj-$(CONFIG_GEN_RTC) += todc_time.o
31obj-$(CONFIG_PPC4xx_DMA) += ppc4xx_dma.o
32obj-$(CONFIG_PPC4xx_EDMA) += ppc4xx_sgdma.o
33ifeq ($(CONFIG_40x),y)
34obj-$(CONFIG_PCI) += indirect_pci.o pci_auto.o ppc405_pci.o
35endif
36endif
Vitaly Bordug514ccd42005-09-16 19:28:00 -070037obj-$(CONFIG_8xx) += m8xx_setup.o ppc8xx_pic.o $(wdt-mpc8xx-y) \
38 ppc_sys.o mpc8xx_devices.o mpc8xx_sys.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070039ifeq ($(CONFIG_8xx),y)
40obj-$(CONFIG_PCI) += qspan_pci.o i8259.o
41endif
42obj-$(CONFIG_PPC_OF) += prom_init.o prom.o of_device.o
43obj-$(CONFIG_PPC_PMAC) += open_pic.o indirect_pci.o
44obj-$(CONFIG_POWER4) += open_pic2.o
45obj-$(CONFIG_PPC_CHRP) += open_pic.o indirect_pci.o i8259.o
46obj-$(CONFIG_PPC_PREP) += open_pic.o indirect_pci.o i8259.o todc_time.o
Matt Porterc9cf73a2005-07-31 22:34:52 -070047obj-$(CONFIG_BAMBOO) += indirect_pci.o pci_auto.o todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070048obj-$(CONFIG_CPCI690) += todc_time.o pci_auto.o
49obj-$(CONFIG_EBONY) += indirect_pci.o pci_auto.o todc_time.o
50obj-$(CONFIG_EV64260) += todc_time.o pci_auto.o
51obj-$(CONFIG_CHESTNUT) += mv64360_pic.o pci_auto.o
52obj-$(CONFIG_GEMINI) += open_pic.o indirect_pci.o
53obj-$(CONFIG_GT64260) += gt64260_pic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070054obj-$(CONFIG_LOPEC) += i8259.o pci_auto.o todc_time.o
55obj-$(CONFIG_HDPU) += pci_auto.o
56obj-$(CONFIG_LUAN) += indirect_pci.o pci_auto.o todc_time.o
57obj-$(CONFIG_KATANA) += pci_auto.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070058obj-$(CONFIG_MV64360) += mv64360_pic.o
59obj-$(CONFIG_MV64X60) += mv64x60.o mv64x60_win.o indirect_pci.o
60obj-$(CONFIG_MVME5100) += open_pic.o todc_time.o indirect_pci.o \
61 pci_auto.o hawk_common.o
62obj-$(CONFIG_MVME5100_IPMC761_PRESENT) += i8259.o
63obj-$(CONFIG_OCOTEA) += indirect_pci.o pci_auto.o todc_time.o
64obj-$(CONFIG_PAL4) += cpc700_pic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070065obj-$(CONFIG_POWERPMC250) += pci_auto.o
66obj-$(CONFIG_PPLUS) += hawk_common.o open_pic.o i8259.o \
67 indirect_pci.o todc_time.o pci_auto.o
68obj-$(CONFIG_PRPMC750) += open_pic.o indirect_pci.o pci_auto.o \
69 hawk_common.o
70obj-$(CONFIG_HARRIER) += harrier.o
71obj-$(CONFIG_PRPMC800) += open_pic.o indirect_pci.o pci_auto.o
72obj-$(CONFIG_RADSTONE_PPC7D) += i8259.o pci_auto.o
73obj-$(CONFIG_SANDPOINT) += i8259.o pci_auto.o todc_time.o
74obj-$(CONFIG_SBC82xx) += todc_time.o
75obj-$(CONFIG_SPRUCE) += cpc700_pic.o indirect_pci.o pci_auto.o \
76 todc_time.o
Kumar Gala8e8fff02005-09-03 15:55:34 -070077obj-$(CONFIG_8260) += m8260_setup.o pq2_devices.o pq2_sys.o \
78 ppc_sys.o
Vitaly Borduga6dbba72005-05-28 15:52:09 -070079obj-$(CONFIG_PCI_8260) += m82xx_pci.o indirect_pci.o pci_auto.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070080obj-$(CONFIG_8260_PCI9) += m8260_pci_erratum9.o
81obj-$(CONFIG_CPM2) += cpm2_common.o cpm2_pic.o
82ifeq ($(CONFIG_PPC_GEN550),y)
83obj-$(CONFIG_KGDB) += gen550_kgdb.o gen550_dbg.o
84obj-$(CONFIG_SERIAL_TEXT_DEBUG) += gen550_dbg.o
85endif
86ifeq ($(CONFIG_SERIAL_MPSC_CONSOLE),y)
87obj-$(CONFIG_SERIAL_TEXT_DEBUG) += mv64x60_dbg.o
88endif
89obj-$(CONFIG_BOOTX_TEXT) += btext.o
Kumar Galab264c352005-06-21 17:15:21 -070090obj-$(CONFIG_MPC10X_BRIDGE) += mpc10x_common.o indirect_pci.o ppc_sys.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070091obj-$(CONFIG_MPC10X_OPENPIC) += open_pic.o
92obj-$(CONFIG_40x) += dcr.o
93obj-$(CONFIG_BOOKE) += dcr.o
94obj-$(CONFIG_85xx) += open_pic.o ppc85xx_common.o ppc85xx_setup.o \
Kumar Galaed369592005-05-28 15:52:07 -070095 ppc_sys.o i8259.o mpc85xx_sys.o \
Linus Torvalds1da177e2005-04-16 15:20:36 -070096 mpc85xx_devices.o
97ifeq ($(CONFIG_85xx),y)
98obj-$(CONFIG_PCI) += indirect_pci.o pci_auto.o
99endif
100obj-$(CONFIG_83xx) += ipic.o ppc83xx_setup.o ppc_sys.o \
101 mpc83xx_sys.o mpc83xx_devices.o
102ifeq ($(CONFIG_83xx),y)
103obj-$(CONFIG_PCI) += indirect_pci.o pci_auto.o
104endif
Kumar Galac91999b2005-06-21 17:15:19 -0700105obj-$(CONFIG_MPC8548_CDS) += todc_time.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700106obj-$(CONFIG_MPC8555_CDS) += todc_time.o
107obj-$(CONFIG_PPC_MPC52xx) += mpc52xx_setup.o mpc52xx_pic.o \
108 mpc52xx_sys.o mpc52xx_devices.o ppc_sys.o
109ifeq ($(CONFIG_PPC_MPC52xx),y)
110obj-$(CONFIG_PCI) += mpc52xx_pci.o
111endif