]> git.sur5r.net Git - u-boot/blobdiff - board/modnet50/Makefile
Cleanup out-or-tree building for some boards (.depend)
[u-boot] / board / modnet50 / Makefile
index ae4de574adad7411d53085aec29a6631efd2659a..bee5a8668be40cafe39acc521df5bd9d21d21fb6 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
 
 #########################################################################