]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - net/Makefile
Merge commit 'wd/master'
[karo-tx-uboot.git] / net / Makefile
index 6fe4002b61acd9c2821d187cd999e992f693e67e..0eee330cfe3f01cdb89031bdf22f01d646c7cb03 100644 (file)
@@ -27,15 +27,22 @@ include $(TOPDIR)/config.mk
 
 LIB    = $(obj)libnet.a
 
-COBJS  = net.o tftp.o bootp.o rarp.o eth.o nfs.o sntp.o
-
+COBJS-y += net.o
+COBJS-y += tftp.o
+COBJS-y += bootp.o
+COBJS-y += rarp.o
+COBJS-y += eth.o
+COBJS-y += nfs.o
+COBJS-y += sntp.o
+
+COBJS  := $(COBJS-y)
 SRCS   := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 
 all:   $(LIB)
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
+       $(AR) $(ARFLAGS) $@ $(OBJS)
 
 #########################################################################