summaryrefslogtreecommitdiff
path: root/net/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/Makefile')
-rw-r--r--net/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/Makefile b/net/Makefile
index 216d1ec..0544f6b 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)/config.mk
# CFLAGS += -DDEBUG
-LIB = $(obj)libnet.a
+LIB = $(obj)libnet.o
COBJS-$(CONFIG_CMD_NET) += bootp.o
COBJS-$(CONFIG_CMD_DNS) += dns.o
@@ -43,7 +43,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
all: $(LIB)
$(LIB): $(obj).depend $(OBJS)
- $(AR) $(ARFLAGS) $@ $(OBJS)
+ $(call cmd_link_o_target, $(OBJS))
#########################################################################