summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-09-24 09:05:30 -0600
committerGrant Likely <grant.likely@secretlab.ca>2007-11-15 11:05:18 -0700
commitf0037c56b0d12cd46215124667b9f83d60ef9391 (patch)
tree6b573be03318ecf4f0d0ed4f904941fe4f02f4a1 /drivers
parent1b4aaffe4fb2a5e95d9111a5d94fd1f89215dce4 (diff)
downloadu-boot-imx-f0037c56b0d12cd46215124667b9f83d60ef9391.zip
u-boot-imx-f0037c56b0d12cd46215124667b9f83d60ef9391.tar.gz
u-boot-imx-f0037c56b0d12cd46215124667b9f83d60ef9391.tar.bz2
Build: split COBJS value into multiple lines
This change is in preparation for condtitionial compile support in the build system. By spliting them all into seperate lines now, subsequent patches that change 'COBJS-y += ' into 'COBJS-$(CONFIG_<blah>) += ' will be less invasive and easier to review Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers')
-rwxr-xr-xdrivers/Makefile113
-rw-r--r--drivers/nand/Makefile10
-rw-r--r--drivers/sk98lin/Makefile26
3 files changed, 114 insertions, 35 deletions
diff --git a/drivers/Makefile b/drivers/Makefile
index d19588f..215e29b 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -27,34 +27,93 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libdrivers.a
-COBJS = 3c589.o 5701rls.o ali512x.o at45.o ata_piix.o \
- ati_radeon_fb.o atmel_usart.o \
- bcm570x.o bcm570x_autoneg.o cfb_console.o cfi_flash.o \
- cs8900.o ct69000.o dataflash.o dc2114x.o dm9000x.o \
- ds1722.o e1000.o eepro100.o enc28j60.o \
- fsl_i2c.o fsl_pci_init.o \
- i8042.o inca-ip_sw.o isp116x-hcd.o \
- keyboard.o ks8695eth.o \
- lan91c96.o macb.o mpc8xx_pcmcia.o mw_eeprom.o \
- natsemi.o ne2000.o netarm_eth.o netconsole.o \
- ns16550.o ns8382x.o ns87308.o ns7520_eth.o omap1510_i2c.o \
- omap24xx_i2c.o pc_keyb.o \
- pci.o pci_auto.o pci_indirect.o \
- pcnet.o plb2800_eth.o ps2ser.o ps2mult.o pxa_pcmcia.o \
- rpx_pcmcia.o rtl8019.o rtl8139.o rtl8169.o \
- s3c4510b_eth.o s3c4510b_uart.o \
- sed13806.o sed156x.o \
- serial.o serial_max3100.o \
- serial_xuartlite.o \
- sil680.o sl811_usb.o sm501.o smc91111.o smiLynxEM.o \
- status_led.o sym53c8xx.o systemace.o ahci.o \
- ti_pci1410a.o tigon3.o tqm8xx_pcmcia.o tsec.o \
- tsi108_eth.o tsi108_i2c.o tsi108_pci.o \
- usb_ohci.o \
- usbdcore.o usbdcore_ep0.o usbdcore_mpc8xx.o usbdcore_omap1510.o \
- usbtty.o \
- videomodes.o w83c553f.o
+COBJS-y += 3c589.o
+COBJS-y += 5701rls.o
+COBJS-y += ali512x.o
+COBJS-y += at45.o
+COBJS-y += ata_piix.o
+COBJS-y += ati_radeon_fb.o
+COBJS-y += atmel_usart.o
+COBJS-y += bcm570x.o
+COBJS-y += bcm570x_autoneg.o
+COBJS-y += cfb_console.o
+COBJS-y += cfi_flash.o
+COBJS-y += cs8900.o
+COBJS-y += ct69000.o
+COBJS-y += dataflash.o
+COBJS-y += dc2114x.o
+COBJS-y += dm9000x.o
+COBJS-y += ds1722.o
+COBJS-y += e1000.o
+COBJS-y += eepro100.o
+COBJS-y += enc28j60.o
+COBJS-y += fsl_i2c.o
+COBJS-y += fsl_pci_init.o
+COBJS-y += i8042.o
+COBJS-y += inca-ip_sw.o
+COBJS-y += isp116x-hcd.o
+COBJS-y += keyboard.o
+COBJS-y += ks8695eth.o
+COBJS-y += lan91c96.o
+COBJS-y += macb.o
+COBJS-y += mpc8xx_pcmcia.o
+COBJS-y += mw_eeprom.o
+COBJS-y += natsemi.o
+COBJS-y += ne2000.o
+COBJS-y += netarm_eth.o
+COBJS-y += netconsole.o
+COBJS-y += ns16550.o
+COBJS-y += ns8382x.o
+COBJS-y += ns87308.o
+COBJS-y += ns7520_eth.o
+COBJS-y += omap1510_i2c.o
+COBJS-y += omap24xx_i2c.o
+COBJS-y += pc_keyb.o
+COBJS-y += pci.o
+COBJS-y += pci_auto.o
+COBJS-y += pci_indirect.o
+COBJS-y += pcnet.o
+COBJS-y += plb2800_eth.o
+COBJS-y += ps2ser.o
+COBJS-y += ps2mult.o
+COBJS-y += pxa_pcmcia.o
+COBJS-y += rpx_pcmcia.o
+COBJS-y += rtl8019.o
+COBJS-y += rtl8139.o
+COBJS-y += rtl8169.o
+COBJS-y += s3c4510b_eth.o
+COBJS-y += s3c4510b_uart.o
+COBJS-y += sed13806.o
+COBJS-y += sed156x.o
+COBJS-y += serial.o
+COBJS-y += serial_max3100.o
+COBJS-y += serial_xuartlite.o
+COBJS-y += sil680.o
+COBJS-y += sl811_usb.o
+COBJS-y += sm501.o
+COBJS-y += smc91111.o
+COBJS-y += smiLynxEM.o
+COBJS-y += status_led.o
+COBJS-y += sym53c8xx.o
+COBJS-y += systemace.o
+COBJS-y += ahci.o
+COBJS-y += ti_pci1410a.o
+COBJS-y += tigon3.o
+COBJS-y += tqm8xx_pcmcia.o
+COBJS-y += tsec.o
+COBJS-y += tsi108_eth.o
+COBJS-y += tsi108_i2c.o
+COBJS-y += tsi108_pci.o
+COBJS-y += usb_ohci.o
+COBJS-y += usbdcore.o
+COBJS-y += usbdcore_ep0.o
+COBJS-y += usbdcore_mpc8xx.o
+COBJS-y += usbdcore_omap1510.o
+COBJS-y += usbtty.o
+COBJS-y += videomodes.o
+COBJS-y += w83c553f.o
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
diff --git a/drivers/nand/Makefile b/drivers/nand/Makefile
index fb0185b..42864f9 100644
--- a/drivers/nand/Makefile
+++ b/drivers/nand/Makefile
@@ -25,8 +25,14 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libnand.a
-COBJS := nand.o nand_base.o nand_ids.o nand_ecc.o nand_bbt.o nand_util.o
-
+COBJS-y += nand.o
+COBJS-y += nand_base.o
+COBJS-y += nand_ids.o
+COBJS-y += nand_ecc.o
+COBJS-y += nand_bbt.o
+COBJS-y += nand_util.o
+
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))
diff --git a/drivers/sk98lin/Makefile b/drivers/sk98lin/Makefile
index 7e50b1d..a7d4a3b 100644
--- a/drivers/sk98lin/Makefile
+++ b/drivers/sk98lin/Makefile
@@ -29,12 +29,26 @@ include $(TOPDIR)/config.mk
LIB := $(obj)libsk98lin.a
-COBJS := skge.o skaddr.o skgehwt.o skgeinit.o skgepnmi.o skgesirq.o \
- ski2c.o sklm80.o skqueue.o skrlmt.o sktimer.o skvpd.o \
- skxmac2.o skcsum.o #skproc.o
-
-COBJS += uboot_skb.o uboot_drv.o
-
+COBJS-y += skge.o
+COBJS-y += skaddr.o
+COBJS-y += skgehwt.o
+COBJS-y += skgeinit.o
+COBJS-y += skgepnmi.o
+COBJS-y += skgesirq.o
+COBJS-y += ski2c.o
+COBJS-y += sklm80.o
+COBJS-y += skqueue.o
+COBJS-y += skrlmt.o
+COBJS-y += sktimer.o
+COBJS-y += skvpd.o
+COBJS-y += skxmac2.o
+COBJS-y += skcsum.o
+#COBJS-y += skproc.o
+
+COBJS-y += uboot_skb.o
+COBJS-y += uboot_drv.o
+
+COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS))