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