Merge commit 'wd/master'
[oweals/u-boot.git] / board / psyent / pci5441 / Makefile
index 7d74b4ee9d3542d6616cf5267fa3cc63411e0de0..301b4a0a5d2bff1b96106d294e6e5e2bce6edff4 100644 (file)
@@ -37,13 +37,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
 
 #########################################################################