]> git.sur5r.net Git - u-boot/blobdiff - board/linkstation/Makefile
pmic: Extend PMIC framework to support battery related commands
[u-boot] / board / linkstation / Makefile
index 8f4da0c978bcb9c3dbf8882513ffe077d36ad726..55674b74b2ef8b000c92acf484af1415c2f00f5e 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 OBJS   = $(BOARD).o ide.o hwctl.o avr.o
 
@@ -31,7 +31,7 @@ SRCS  := $(SOBJS:.o=.S) $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(OBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################