Auto merge with /home/aegl/GIT/ia64-test
[linux-2.6] / arch / ppc / syslib / Makefile
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
14 obj-$(CONFIG_440GP)             += ibm440gp_common.o
15 obj-$(CONFIG_440GX)             += ibm440gx_common.o
16 obj-$(CONFIG_440SP)             += ibm440gx_common.o ibm440sp_common.o
17 ifeq ($(CONFIG_4xx),y)
18 ifeq ($(CONFIG_VIRTEX_II_PRO),y)
19 obj-$(CONFIG_40x)               += xilinx_pic.o
20 else
21 ifeq ($(CONFIG_403),y)
22 obj-$(CONFIG_40x)               += ppc403_pic.o
23 else
24 obj-$(CONFIG_40x)               += ppc4xx_pic.o
25 endif
26 endif
27 obj-$(CONFIG_44x)               += ppc4xx_pic.o
28 obj-$(CONFIG_40x)               += ppc4xx_setup.o
29 obj-$(CONFIG_GEN_RTC)           += todc_time.o
30 obj-$(CONFIG_PPC4xx_DMA)        += ppc4xx_dma.o
31 obj-$(CONFIG_PPC4xx_EDMA)       += ppc4xx_sgdma.o
32 ifeq ($(CONFIG_40x),y)
33 obj-$(CONFIG_PCI)               += indirect_pci.o pci_auto.o ppc405_pci.o
34 endif
35 endif
36 obj-$(CONFIG_8xx)               += m8xx_setup.o ppc8xx_pic.o $(wdt-mpc8xx-y)
37 ifeq ($(CONFIG_8xx),y)
38 obj-$(CONFIG_PCI)               += qspan_pci.o i8259.o
39 endif
40 obj-$(CONFIG_PPC_OF)            += prom_init.o prom.o of_device.o
41 obj-$(CONFIG_PPC_PMAC)          += open_pic.o indirect_pci.o
42 obj-$(CONFIG_POWER4)            += open_pic2.o
43 obj-$(CONFIG_PPC_CHRP)          += open_pic.o indirect_pci.o i8259.o
44 obj-$(CONFIG_PPC_PREP)          += open_pic.o indirect_pci.o i8259.o todc_time.o
45 obj-$(CONFIG_ADIR)              += i8259.o indirect_pci.o pci_auto.o \
46                                         todc_time.o
47 obj-$(CONFIG_CPCI690)           += todc_time.o pci_auto.o
48 obj-$(CONFIG_EBONY)             += indirect_pci.o pci_auto.o todc_time.o
49 obj-$(CONFIG_EV64260)           += todc_time.o pci_auto.o
50 obj-$(CONFIG_CHESTNUT)          += mv64360_pic.o pci_auto.o
51 obj-$(CONFIG_GEMINI)            += open_pic.o indirect_pci.o
52 obj-$(CONFIG_GT64260)           += gt64260_pic.o
53 obj-$(CONFIG_K2)                += i8259.o indirect_pci.o todc_time.o \
54                                         pci_auto.o
55 obj-$(CONFIG_LOPEC)             += i8259.o pci_auto.o todc_time.o
56 obj-$(CONFIG_HDPU)              += pci_auto.o
57 obj-$(CONFIG_LUAN)              += indirect_pci.o pci_auto.o todc_time.o
58 obj-$(CONFIG_KATANA)            += pci_auto.o
59 obj-$(CONFIG_MCPN765)           += todc_time.o indirect_pci.o pci_auto.o \
60                                         open_pic.o i8259.o hawk_common.o
61 obj-$(CONFIG_MENF1)             += todc_time.o i8259.o mpc10x_common.o \
62                                         pci_auto.o indirect_pci.o
63 obj-$(CONFIG_MV64360)           += mv64360_pic.o
64 obj-$(CONFIG_MV64X60)           += mv64x60.o mv64x60_win.o indirect_pci.o
65 obj-$(CONFIG_MVME5100)          += open_pic.o todc_time.o indirect_pci.o \
66                                         pci_auto.o hawk_common.o
67 obj-$(CONFIG_MVME5100_IPMC761_PRESENT)  += i8259.o
68 obj-$(CONFIG_OCOTEA)            += indirect_pci.o pci_auto.o todc_time.o
69 obj-$(CONFIG_PAL4)              += cpc700_pic.o
70 obj-$(CONFIG_PCORE)             += todc_time.o i8259.o pci_auto.o
71 obj-$(CONFIG_POWERPMC250)       += pci_auto.o
72 obj-$(CONFIG_PPLUS)             += hawk_common.o open_pic.o i8259.o \
73                                    indirect_pci.o todc_time.o pci_auto.o
74 obj-$(CONFIG_PRPMC750)          += open_pic.o indirect_pci.o pci_auto.o \
75                                         hawk_common.o
76 obj-$(CONFIG_HARRIER)           += harrier.o
77 obj-$(CONFIG_PRPMC800)          += open_pic.o indirect_pci.o pci_auto.o
78 obj-$(CONFIG_RADSTONE_PPC7D)    += i8259.o pci_auto.o
79 obj-$(CONFIG_SANDPOINT)         += i8259.o pci_auto.o todc_time.o
80 obj-$(CONFIG_SBC82xx)           += todc_time.o
81 obj-$(CONFIG_SPRUCE)            += cpc700_pic.o indirect_pci.o pci_auto.o \
82                                    todc_time.o
83 obj-$(CONFIG_8260)              += m8260_setup.o
84 obj-$(CONFIG_PCI_8260)          += m82xx_pci.o indirect_pci.o pci_auto.o
85 obj-$(CONFIG_8260_PCI9)         += m8260_pci_erratum9.o
86 obj-$(CONFIG_CPM2)              += cpm2_common.o cpm2_pic.o
87 ifeq ($(CONFIG_PPC_GEN550),y)
88 obj-$(CONFIG_KGDB)              += gen550_kgdb.o gen550_dbg.o
89 obj-$(CONFIG_SERIAL_TEXT_DEBUG) += gen550_dbg.o
90 endif
91 ifeq ($(CONFIG_SERIAL_MPSC_CONSOLE),y)
92 obj-$(CONFIG_SERIAL_TEXT_DEBUG) += mv64x60_dbg.o
93 endif
94 obj-$(CONFIG_BOOTX_TEXT)        += btext.o
95 obj-$(CONFIG_MPC10X_BRIDGE)     += mpc10x_common.o indirect_pci.o ppc_sys.o
96 obj-$(CONFIG_MPC10X_OPENPIC)    += open_pic.o
97 obj-$(CONFIG_40x)               += dcr.o
98 obj-$(CONFIG_BOOKE)             += dcr.o
99 obj-$(CONFIG_85xx)              += open_pic.o ppc85xx_common.o ppc85xx_setup.o \
100                                         ppc_sys.o i8259.o mpc85xx_sys.o \
101                                         mpc85xx_devices.o
102 ifeq ($(CONFIG_85xx),y)
103 obj-$(CONFIG_PCI)               += indirect_pci.o pci_auto.o
104 endif
105 obj-$(CONFIG_83xx)              += ipic.o ppc83xx_setup.o ppc_sys.o \
106                                         mpc83xx_sys.o mpc83xx_devices.o
107 ifeq ($(CONFIG_83xx),y)
108 obj-$(CONFIG_PCI)               += indirect_pci.o pci_auto.o
109 endif
110 obj-$(CONFIG_MPC8548_CDS)       += todc_time.o
111 obj-$(CONFIG_MPC8555_CDS)       += todc_time.o
112 obj-$(CONFIG_PPC_MPC52xx)       += mpc52xx_setup.o mpc52xx_pic.o \
113                                         mpc52xx_sys.o mpc52xx_devices.o ppc_sys.o
114 ifeq ($(CONFIG_PPC_MPC52xx),y)
115 obj-$(CONFIG_PCI)               += mpc52xx_pci.o
116 endif