]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/ti/sdp4430/Makefile
ARMV7: OMAP4: twl6030 add battery charging support
[karo-tx-uboot.git] / board / ti / sdp4430 / Makefile
index 2554c7b0813d26fea8b4e3424ad198146d55eae9..f1ee5448eda2ed54c18d1fc2474dee244fc189a4 100644 (file)
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
-COBJS  := sdp.o
+COBJS  := sdp.o cmd_bat.o
 
 SRCS   := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
+       $(call cmd_link_o_target, $(OBJS))
 
 clean:
        rm -f $(OBJS)