blob: a81c8200720fe75f81ae006fb1e29ed555794bf7 [file] [log] [blame]
wdenkfa850ba2002-10-29 19:01:12 +00001#
Wolfgang Denk9a74ab62007-10-23 16:50:03 +02002# (C) Copyright 2000-2007
wdenkfa850ba2002-10-29 19:01:12 +00003# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4#
5# See file CREDITS for list of people who contributed to this
6# project.
7#
8# This program is free software; you can redistribute it and/or
9# modify it under the terms of the GNU General Public License as
10# published by the Free Software Foundation; either version 2 of
11# the License, or (at your option) any later version.
12#
13# This program is distributed in the hope that it will be useful,
14# but WITHOUT ANY WARRANTY; without even the implied warranty of
wdenk29e7f5a2004-03-12 00:14:09 +000015# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
wdenkfa850ba2002-10-29 19:01:12 +000016# GNU General Public License for more details.
17#
18# You should have received a copy of the GNU General Public License
19# along with this program; if not, write to the Free Software
20# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21# MA 02111-1307 USA
22#
23
24include $(TOPDIR)/config.mk
25
26# CFLAGS += -DET_DEBUG -DDEBUG
27
Marian Balakowiczd62379d2006-09-01 19:49:50 +020028LIB = $(obj)libdrivers.a
wdenkfa850ba2002-10-29 19:01:12 +000029
Grant Likely1179ad12007-09-24 09:05:30 -060030COBJS-y += ali512x.o
Grant Likely1179ad12007-09-24 09:05:30 -060031COBJS-y += ds1722.o
Grant Likely1179ad12007-09-24 09:05:30 -060032COBJS-y += ns87308.o
Grant Likely1179ad12007-09-24 09:05:30 -060033COBJS-y += status_led.o
Grant Likely3c7bb1e2007-09-24 09:05:30 -060034
35#
Grant Likely74d0ace2007-09-24 09:05:31 -060036# Block and Flash Drivers
37#
38COBJS-y += ahci.o
39COBJS-y += at45.o
40COBJS-y += ata_piix.o
41COBJS-y += cfi_flash.o
42COBJS-y += dataflash.o
43COBJS-y += mw_eeprom.o
44COBJS-y += sil680.o
45COBJS-y += sym53c8xx.o
46COBJS-y += systemace.o
47
48#
Grant Likely3c7bb1e2007-09-24 09:05:30 -060049# Console Drivers
50#
51COBJS-y += ati_radeon_fb.o
52COBJS-y += atmel_usart.o
53COBJS-y += cfb_console.o
54COBJS-y += ct69000.o
55COBJS-y += i8042.o
56COBJS-y += keyboard.o
57COBJS-y += netconsole.o
58COBJS-y += ns16550.o
59COBJS-y += pc_keyb.o
60COBJS-y += ps2ser.o
61COBJS-y += ps2mult.o
62COBJS-y += s3c4510b_uart.o
63COBJS-y += sed13806.o
64COBJS-y += sed156x.o
65COBJS-y += serial.o
66COBJS-y += serial_max3100.o
67COBJS-y += serial_xuartlite.o
68COBJS-y += sm501.o
69COBJS-y += smiLynxEM.o
Grant Likely1179ad12007-09-24 09:05:30 -060070COBJS-y += usbtty.o
71COBJS-y += videomodes.o
wdenkabda5ca2003-05-31 18:35:21 +000072
Grant Likelye1c8f942007-09-24 09:05:30 -060073#
Grant Likely26fb76d2007-09-24 09:05:30 -060074# I2C Drivers
75#
76COBJS-y += omap1510_i2c.o
77COBJS-y += omap24xx_i2c.o
78COBJS-y += tsi108_i2c.o
79COBJS-y += fsl_i2c.o
80
81#
Grant Likelye1c8f942007-09-24 09:05:30 -060082# Network Drivers
83#
84COBJS-y += 3c589.o
85COBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o
86COBJS-y += cs8900.o
87COBJS-y += dc2114x.o
88COBJS-y += dm9000x.o
89COBJS-y += e1000.o
90COBJS-y += eepro100.o
91COBJS-y += enc28j60.o
92COBJS-y += inca-ip_sw.o
93COBJS-y += ks8695eth.o
94COBJS-y += lan91c96.o
95COBJS-y += macb.o
96COBJS-y += natsemi.o
97COBJS-y += ne2000.o
98COBJS-y += netarm_eth.o
99COBJS-y += ns7520_eth.o
100COBJS-y += ns8382x.o
101COBJS-y += pcnet.o
102COBJS-y += plb2800_eth.o
103COBJS-y += rtl8019.o
104COBJS-y += rtl8139.o
105COBJS-y += rtl8169.o
106COBJS-y += s3c4510b_eth.o
107COBJS-y += smc91111.o
108COBJS-y += tigon3.o
109COBJS-y += tsec.o
110COBJS-y += tsi108_eth.o
111
Grant Likelyf214ca12007-09-24 09:05:31 -0600112#
Grant Likely5ea6c992007-09-24 09:05:31 -0600113# PCI/PCMCIA device drivers
114#
115COBJS-y += fsl_pci_init.o
116COBJS-y += mpc8xx_pcmcia.o
117COBJS-y += pci.o
118COBJS-y += pci_auto.o
119COBJS-y += pci_indirect.o
120COBJS-y += pxa_pcmcia.o
121COBJS-y += rpx_pcmcia.o
122COBJS-y += ti_pci1410a.o
123COBJS-y += tqm8xx_pcmcia.o
124COBJS-y += tsi108_pci.o
125COBJS-y += w83c553f.o
126
127#
Grant Likelyf214ca12007-09-24 09:05:31 -0600128# USB Drivers
129#
130COBJS-y += isp116x-hcd.o
131COBJS-y += sl811_usb.o
132COBJS-y += usb_ohci.o
133COBJS-y += usbdcore.o
134COBJS-y += usbdcore_ep0.o
135COBJS-y += usbdcore_mpc8xx.o
136COBJS-y += usbdcore_omap1510.o
137
Grant Likely5ea6c992007-09-24 09:05:31 -0600138#
139# Miscellaneous Drivers
140#
141COBJS-y += ali512x.o
142COBJS-y += ns87308.o
143COBJS-y += status_led.o
144
Grant Likely1179ad12007-09-24 09:05:30 -0600145COBJS := $(COBJS-y)
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200146SRCS := $(COBJS:.o=.c)
147OBJS := $(addprefix $(obj),$(COBJS))
148
wdenkfa850ba2002-10-29 19:01:12 +0000149all: $(LIB)
150
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200151$(LIB): $(obj).depend $(OBJS)
Wolfgang Denk6a65e422006-10-09 01:02:05 +0200152 $(AR) $(ARFLAGS) $@ $(OBJS)
wdenkfa850ba2002-10-29 19:01:12 +0000153
154#########################################################################
155
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200156# defines $(obj).depend target
157include $(SRCTREE)/rules.mk
wdenkfa850ba2002-10-29 19:01:12 +0000158
Marian Balakowiczd62379d2006-09-01 19:49:50 +0200159sinclude $(obj).depend
wdenkfa850ba2002-10-29 19:01:12 +0000160
161#########################################################################