]> git.sur5r.net Git - u-boot/blobdiff - board/ti/panda/Makefile
Merge branch 'u-boot-samsung/master' into 'u-boot-arm/master'
[u-boot] / board / ti / panda / Makefile
index 81e54692bb3bf70f4b6b7874e9c9921c0da7560f..b299e2fff8cc15ffcb717ac4377937050418c337 100644 (file)
@@ -23,7 +23,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := panda.o
 
@@ -31,13 +31,7 @@ SRCS := $(COBJS:.o=.c)
 OBJS   := $(addprefix $(obj),$(COBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) $(ARFLAGS) $@ $(OBJS)
-
-clean:
-       rm -f $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak $(obj).depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################