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 | # |
Grant Likely | ec00c76 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 51 | COBJS-y += atmel_usart.o |
Grant Likely | ec00c76 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 52 | COBJS-y += i8042.o |
| 53 | COBJS-y += keyboard.o |
| 54 | COBJS-y += netconsole.o |
| 55 | COBJS-y += ns16550.o |
| 56 | COBJS-y += pc_keyb.o |
| 57 | COBJS-y += ps2ser.o |
| 58 | COBJS-y += ps2mult.o |
| 59 | COBJS-y += s3c4510b_uart.o |
Grant Likely | ec00c76 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 60 | COBJS-y += serial.o |
| 61 | COBJS-y += serial_max3100.o |
| 62 | COBJS-y += serial_xuartlite.o |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 63 | COBJS-y += usbtty.o |
wdenk | 7a8e9bed | 2003-05-31 18:35:21 +0000 | [diff] [blame] | 64 | |
Grant Likely | 754f230 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 65 | # |
| 66 | # Network Drivers |
| 67 | # |
| 68 | COBJS-y += 3c589.o |
| 69 | COBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o |
| 70 | COBJS-y += cs8900.o |
| 71 | COBJS-y += dc2114x.o |
| 72 | COBJS-y += dm9000x.o |
| 73 | COBJS-y += e1000.o |
| 74 | COBJS-y += eepro100.o |
| 75 | COBJS-y += enc28j60.o |
| 76 | COBJS-y += inca-ip_sw.o |
| 77 | COBJS-y += ks8695eth.o |
| 78 | COBJS-y += lan91c96.o |
| 79 | COBJS-y += macb.o |
| 80 | COBJS-y += natsemi.o |
| 81 | COBJS-y += ne2000.o |
| 82 | COBJS-y += netarm_eth.o |
| 83 | COBJS-y += ns7520_eth.o |
| 84 | COBJS-y += ns8382x.o |
| 85 | COBJS-y += pcnet.o |
| 86 | COBJS-y += plb2800_eth.o |
| 87 | COBJS-y += rtl8019.o |
| 88 | COBJS-y += rtl8139.o |
| 89 | COBJS-y += rtl8169.o |
| 90 | COBJS-y += s3c4510b_eth.o |
| 91 | COBJS-y += smc91111.o |
| 92 | COBJS-y += tigon3.o |
| 93 | COBJS-y += tsec.o |
| 94 | COBJS-y += tsi108_eth.o |
Grant Likely | efe3303 | 2007-11-16 21:01:19 -0700 | [diff] [blame] | 95 | COBJS-y += uli526x.o |
Grant Likely | 754f230 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 96 | |
Grant Likely | df58c81 | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 97 | # |
| 98 | # USB Drivers |
| 99 | # |
| 100 | COBJS-y += isp116x-hcd.o |
| 101 | COBJS-y += sl811_usb.o |
| 102 | COBJS-y += usb_ohci.o |
| 103 | COBJS-y += usbdcore.o |
| 104 | COBJS-y += usbdcore_ep0.o |
| 105 | COBJS-y += usbdcore_mpc8xx.o |
| 106 | COBJS-y += usbdcore_omap1510.o |
| 107 | |
Grant Likely | 4d4faae | 2007-09-24 09:05:31 -0600 | [diff] [blame] | 108 | # |
| 109 | # Miscellaneous Drivers |
| 110 | # |
| 111 | COBJS-y += ali512x.o |
| 112 | COBJS-y += ns87308.o |
| 113 | COBJS-y += status_led.o |
| 114 | |
Grant Likely | f0037c5 | 2007-09-24 09:05:30 -0600 | [diff] [blame] | 115 | COBJS := $(COBJS-y) |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 116 | SRCS := $(COBJS:.o=.c) |
| 117 | OBJS := $(addprefix $(obj),$(COBJS)) |
| 118 | |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 119 | all: $(LIB) |
| 120 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 121 | $(LIB): $(obj).depend $(OBJS) |
Wolfgang Denk | 2b208f5 | 2006-10-09 01:02:05 +0200 | [diff] [blame] | 122 | $(AR) $(ARFLAGS) $@ $(OBJS) |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 123 | |
| 124 | ######################################################################### |
| 125 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 126 | # defines $(obj).depend target |
| 127 | include $(SRCTREE)/rules.mk |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 128 | |
Marian Balakowicz | f932863 | 2006-09-01 19:49:50 +0200 | [diff] [blame] | 129 | sinclude $(obj).depend |
wdenk | fa850ba | 2002-10-29 19:01:12 +0000 | [diff] [blame] | 130 | |
| 131 | ######################################################################### |