]> 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 8d92d8a6c7b29b23e93dd8781e92545f4ab33f7d..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) crv $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################