]> git.sur5r.net Git - u-boot/blobdiff - board/esd/voh405/Makefile
twl4030: make twl4030_i2c_read_u8 prototype consistent
[u-boot] / board / esd / voh405 / Makefile
index 98acb4b7712b5648d4fa528ce0c0613c6515d592..8aacae7411de8075bb7e21942b9e575e7d93b18f 100644 (file)
@@ -26,7 +26,7 @@ ifneq ($(OBJTREE),$(SRCTREE))
 $(shell mkdir -p $(obj)../common)
 endif
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  = $(BOARD).o flash.o \
        ../common/misc.o \
@@ -37,13 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################