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 |
| 31 | COBJS-y += at45.o |
| 32 | COBJS-y += ata_piix.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 33 | COBJS-y += cfi_flash.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 34 | COBJS-y += dataflash.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 35 | COBJS-y += ds1722.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 36 | COBJS-y += fsl_i2c.o |
| 37 | COBJS-y += fsl_pci_init.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 38 | COBJS-y += isp116x-hcd.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 39 | COBJS-y += mpc8xx_pcmcia.o |
| 40 | COBJS-y += mw_eeprom.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 41 | COBJS-y += ns87308.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 42 | COBJS-y += omap1510_i2c.o |
| 43 | COBJS-y += omap24xx_i2c.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 44 | COBJS-y += pci.o |
| 45 | COBJS-y += pci_auto.o |
| 46 | COBJS-y += pci_indirect.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 47 | COBJS-y += pxa_pcmcia.o |
| 48 | COBJS-y += rpx_pcmcia.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 49 | COBJS-y += sil680.o |
| 50 | COBJS-y += sl811_usb.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 51 | COBJS-y += status_led.o |
| 52 | COBJS-y += sym53c8xx.o |
| 53 | COBJS-y += systemace.o |
| 54 | COBJS-y += ahci.o |
| 55 | COBJS-y += ti_pci1410a.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 56 | COBJS-y += tqm8xx_pcmcia.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 57 | COBJS-y += tsi108_i2c.o |
| 58 | COBJS-y += tsi108_pci.o |
| 59 | COBJS-y += usb_ohci.o |
| 60 | COBJS-y += usbdcore.o |
| 61 | COBJS-y += usbdcore_ep0.o |
| 62 | COBJS-y += usbdcore_mpc8xx.o |
| 63 | COBJS-y += usbdcore_omap1510.o |
Grant Likely | ec00c76 | 2007-09-24 09:05:30 -0600 | [diff] [blame^] | 64 | COBJS-y += w83c553f.o |
| 65 | |
| 66 | # |
| 67 | # Console Drivers |
| 68 | # |
| 69 | COBJS-y += ati_radeon_fb.o |
| 70 | COBJS-y += atmel_usart.o |
| 71 | COBJS-y += cfb_console.o |
| 72 | COBJS-y += ct69000.o |
| 73 | COBJS-y += i8042.o |
| 74 | COBJS-y += keyboard.o |
| 75 | COBJS-y += netconsole.o |
| 76 | COBJS-y += ns16550.o |
| 77 | COBJS-y += pc_keyb.o |
| 78 | COBJS-y += ps2ser.o |
| 79 | COBJS-y += ps2mult.o |
| 80 | COBJS-y += s3c4510b_uart.o |
| 81 | COBJS-y += sed13806.o |
| 82 | COBJS-y += sed156x.o |
| 83 | COBJS-y += serial.o |
| 84 | COBJS-y += serial_max3100.o |
| 85 | COBJS-y += serial_xuartlite.o |
| 86 | COBJS-y += sm501.o |
| 87 | COBJS-y += smiLynxEM.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 88 | COBJS-y += usbtty.o |
| 89 | COBJS-y += videomodes.o |
wdenk | 7a8e9bed | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 90 | |
Grant Likely | 754f230 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 91 | # |
| 92 | # Network Drivers |
| 93 | # |
| 94 | COBJS-y += 3c589.o |
| 95 | COBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o |
| 96 | COBJS-y += cs8900.o |
| 97 | COBJS-y += dc2114x.o |
| 98 | COBJS-y += dm9000x.o |
| 99 | COBJS-y += e1000.o |
| 100 | COBJS-y += eepro100.o |
| 101 | COBJS-y += enc28j60.o |
| 102 | COBJS-y += inca-ip_sw.o |
| 103 | COBJS-y += ks8695eth.o |
| 104 | COBJS-y += lan91c96.o |
| 105 | COBJS-y += macb.o |
| 106 | COBJS-y += natsemi.o |
| 107 | COBJS-y += ne2000.o |
| 108 | COBJS-y += netarm_eth.o |
| 109 | COBJS-y += ns7520_eth.o |
| 110 | COBJS-y += ns8382x.o |
| 111 | COBJS-y += pcnet.o |
| 112 | COBJS-y += plb2800_eth.o |
| 113 | COBJS-y += rtl8019.o |
| 114 | COBJS-y += rtl8139.o |
| 115 | COBJS-y += rtl8169.o |
| 116 | COBJS-y += s3c4510b_eth.o |
| 117 | COBJS-y += smc91111.o |
| 118 | COBJS-y += tigon3.o |
| 119 | COBJS-y += tsec.o |
| 120 | COBJS-y += tsi108_eth.o |
| 121 | |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 122 | COBJS := $(COBJS-y) |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 123 | SRCS := $(COBJS:.o=.c) |
| 124 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 125 | |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 126 | all: $(LIB) |
| 127 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 128 | $(LIB): $(obj).depend $(OBJS) |
Wolfgang Denk | 2b208f5 | 2006-10-09 01:02:05 +0200 | [diff] [blame] | 129 | $(AR) $(ARFLAGS) $@ $(OBJS) |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 130 | |
| 131 | ######################################################################### |
| 132 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 133 | # defines $(obj).depend target |
| 134 | include $(SRCTREE)/rules.mk |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 135 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 136 | sinclude $(obj).depend |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 137 | |
| 138 | ######################################################################### |