diff options
author | Ben Warren <biggerbadderben@gmail.com> | 2008-07-12 00:08:45 -0700 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2008-08-26 22:17:56 -0700 |
commit | 8379f42bc745eb9e4ca551a30fd2d0a63f740d75 (patch) | |
tree | fb8bf3080762a2efa042aaaf15d64db9c67a7e7a /drivers/net/sk98lin/Makefile | |
parent | 65d3d99c28dc363d15eaee78225ff643df499b97 (diff) | |
download | u-boot-imx-8379f42bc745eb9e4ca551a30fd2d0a63f740d75.zip u-boot-imx-8379f42bc745eb9e4ca551a30fd2d0a63f740d75.tar.gz u-boot-imx-8379f42bc745eb9e4ca551a30fd2d0a63f740d75.tar.bz2 |
Moved conditional compilation to Makefile for SK98 Ethernet driver
Brute-force removal of #ifdefs. Didn't touch the code.
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/sk98lin/Makefile')
-rw-r--r-- | drivers/net/sk98lin/Makefile | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/drivers/net/sk98lin/Makefile b/drivers/net/sk98lin/Makefile index 8b83fae..f1bc4a7 100644 --- a/drivers/net/sk98lin/Makefile +++ b/drivers/net/sk98lin/Makefile @@ -29,24 +29,12 @@ include $(TOPDIR)/config.mk LIB := $(obj)libsk98lin.a -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-$(CONFIG_SK98) += 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 #COBJS-y += skproc.o -COBJS-y += uboot_skb.o -COBJS-y += uboot_drv.o +COBJS-$(CONFIG_SK98) += uboot_skb.o uboot_drv.o COBJS := $(COBJS-y) SRCS := $(COBJS:.o=.c) |