wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 1 | # |
Wolfgang Denk | 41b4d28 | 2007-10-23 16:50:03 +0200 | [diff] [blame] | 2 | # (C) Copyright 2000-2007 |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 3 | # 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 |
wdenk | 232c150 | 2004-03-12 00:14:09 +0000 | [diff] [blame] | 15 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 16 | # 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 | |
| 24 | include $(TOPDIR)/config.mk |
| 25 | |
| 26 | # CFLAGS += -DET_DEBUG -DDEBUG |
| 27 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 28 | LIB = $(obj)libdrivers.a |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 29 | |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 30 | COBJS-y += ali512x.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 31 | COBJS-y += ds1722.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 32 | COBJS-y += ns87308.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 33 | COBJS-y += status_led.o |
Grant Likely | ec00c76 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 34 | |
| 35 | # |
Grant Likely | 5798f87 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 36 | # Block and Flash Drivers |
| 37 | # |
| 38 | COBJS-y += ahci.o |
| 39 | COBJS-y += at45.o |
| 40 | COBJS-y += ata_piix.o |
| 41 | COBJS-y += cfi_flash.o |
| 42 | COBJS-y += dataflash.o |
| 43 | COBJS-y += mw_eeprom.o |
| 44 | COBJS-y += sil680.o |
| 45 | COBJS-y += sym53c8xx.o |
| 46 | COBJS-y += systemace.o |
| 47 | |
| 48 | # |
Grant Likely | ec00c76 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 49 | # Console Drivers |
| 50 | # |
| 51 | COBJS-y += ati_radeon_fb.o |
| 52 | COBJS-y += atmel_usart.o |
| 53 | COBJS-y += cfb_console.o |
| 54 | COBJS-y += ct69000.o |
| 55 | COBJS-y += i8042.o |
| 56 | COBJS-y += keyboard.o |
| 57 | COBJS-y += netconsole.o |
| 58 | COBJS-y += ns16550.o |
| 59 | COBJS-y += pc_keyb.o |
| 60 | COBJS-y += ps2ser.o |
| 61 | COBJS-y += ps2mult.o |
| 62 | COBJS-y += s3c4510b_uart.o |
| 63 | COBJS-y += sed13806.o |
| 64 | COBJS-y += sed156x.o |
| 65 | COBJS-y += serial.o |
| 66 | COBJS-y += serial_max3100.o |
| 67 | COBJS-y += serial_xuartlite.o |
| 68 | COBJS-y += sm501.o |
| 69 | COBJS-y += smiLynxEM.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 70 | COBJS-y += usbtty.o |
| 71 | COBJS-y += videomodes.o |
wdenk | 7a8e9bed | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 72 | |
Grant Likely | 754f230 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 73 | # |
Grant Likely | 5dbb6ed | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 74 | # I2C Drivers |
| 75 | # |
| 76 | COBJS-y += omap1510_i2c.o |
| 77 | COBJS-y += omap24xx_i2c.o |
| 78 | COBJS-y += tsi108_i2c.o |
| 79 | COBJS-y += fsl_i2c.o |
| 80 | |
| 81 | # |
Grant Likely | 754f230 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 82 | # Network Drivers |
| 83 | # |
| 84 | COBJS-y += 3c589.o |
| 85 | COBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o |
| 86 | COBJS-y += cs8900.o |
| 87 | COBJS-y += dc2114x.o |
| 88 | COBJS-y += dm9000x.o |
| 89 | COBJS-y += e1000.o |
| 90 | COBJS-y += eepro100.o |
| 91 | COBJS-y += enc28j60.o |
| 92 | COBJS-y += inca-ip_sw.o |
| 93 | COBJS-y += ks8695eth.o |
| 94 | COBJS-y += lan91c96.o |
| 95 | COBJS-y += macb.o |
| 96 | COBJS-y += natsemi.o |
| 97 | COBJS-y += ne2000.o |
| 98 | COBJS-y += netarm_eth.o |
| 99 | COBJS-y += ns7520_eth.o |
| 100 | COBJS-y += ns8382x.o |
| 101 | COBJS-y += pcnet.o |
| 102 | COBJS-y += plb2800_eth.o |
| 103 | COBJS-y += rtl8019.o |
| 104 | COBJS-y += rtl8139.o |
| 105 | COBJS-y += rtl8169.o |
| 106 | COBJS-y += s3c4510b_eth.o |
| 107 | COBJS-y += smc91111.o |
| 108 | COBJS-y += tigon3.o |
| 109 | COBJS-y += tsec.o |
| 110 | COBJS-y += tsi108_eth.o |
Grant Likely | efe3303 | 2007-11-16 21:01:19 -0700 | [diff] [blame] | 111 | COBJS-y += uli526x.o |
Grant Likely | 754f230 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 112 | |
Grant Likely | df58c81 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 113 | # |
Grant Likely | 4d4faae | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 114 | # PCI/PCMCIA device drivers |
| 115 | # |
| 116 | COBJS-y += fsl_pci_init.o |
| 117 | COBJS-y += mpc8xx_pcmcia.o |
| 118 | COBJS-y += pci.o |
| 119 | COBJS-y += pci_auto.o |
| 120 | COBJS-y += pci_indirect.o |
| 121 | COBJS-y += pxa_pcmcia.o |
| 122 | COBJS-y += rpx_pcmcia.o |
| 123 | COBJS-y += ti_pci1410a.o |
| 124 | COBJS-y += tqm8xx_pcmcia.o |
| 125 | COBJS-y += tsi108_pci.o |
| 126 | COBJS-y += w83c553f.o |
| 127 | |
| 128 | # |
Grant Likely | df58c81 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 129 | # USB Drivers |
| 130 | # |
| 131 | COBJS-y += isp116x-hcd.o |
| 132 | COBJS-y += sl811_usb.o |
| 133 | COBJS-y += usb_ohci.o |
| 134 | COBJS-y += usbdcore.o |
| 135 | COBJS-y += usbdcore_ep0.o |
| 136 | COBJS-y += usbdcore_mpc8xx.o |
| 137 | COBJS-y += usbdcore_omap1510.o |
| 138 | |
Grant Likely | 4d4faae | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 139 | # |
| 140 | # Miscellaneous Drivers |
| 141 | # |
| 142 | COBJS-y += ali512x.o |
| 143 | COBJS-y += ns87308.o |
| 144 | COBJS-y += status_led.o |
| 145 | |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 146 | COBJS := $(COBJS-y) |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 147 | SRCS := $(COBJS:.o=.c) |
| 148 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 149 | |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 150 | all: $(LIB) |
| 151 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 152 | $(LIB): $(obj).depend $(OBJS) |
Wolfgang Denk | 2b208f5 | 2006-10-09 01:02:05 +0200 | [diff] [blame] | 153 | $(AR) $(ARFLAGS) $@ $(OBJS) |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 154 | |
| 155 | ######################################################################### |
| 156 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 157 | # defines $(obj).depend target |
| 158 | include $(SRCTREE)/rules.mk |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 159 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 160 | sinclude $(obj).depend |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 161 | |
| 162 | ######################################################################### |