]> git.sur5r.net Git - u-boot/blobdiff - board/ep88x/Makefile
Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'
[u-boot] / board / ep88x / Makefile
index d0223b51ffc971d51ed699d2592b66bca9c9ab02..defca3d27292e8819e2e1aae6d8d311534fdded3 100644 (file)
@@ -26,7 +26,7 @@
 
 include $(TOPDIR)/config.mk
 
-LIB    = $(obj)lib$(BOARD).a
+LIB    = $(obj)lib$(BOARD).o
 
 COBJS  := $(BOARD).o
 
@@ -35,13 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
-
-clean:
-       rm -f $(SOBJS) $(OBJS)
-
-distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       $(call cmd_link_o_target, $(OBJS))
 
 #########################################################################