Merge branch 'master' of /home/stefan/git/u-boot/u-boot
[oweals/u-boot.git] / board / total5200 / Makefile
index 4245f98223890885066e22825950b79c67693e93..a8abd7d7811da984b79fdff51b8a7746aeacbe7e 100644 (file)
@@ -32,13 +32,13 @@ OBJS        := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS)
-       $(AR) crv $@ $(OBJS)
+       $(AR) $(ARFLAGS) $@ $(OBJS)
 
 clean:
        rm -f $(SOBJS) $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       rm -f $(LIB) core *.bak $(obj).depend
 
 #########################################################################