Merge branch 'master' of /home/stefan/git/u-boot/u-boot
[oweals/u-boot.git] / board / cradle / Makefile
index c6a5a0d82da52d2d7a66e910cf1847d4a0e94952..1ae785db5fc749aea01fe2c38b850eaaa422d8d4 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
 
 #########################################################################