Cleanup out-or-tree building for some boards (.depend)
[oweals/u-boot.git] / board / amcc / bubinga / Makefile
index e78ed5f926d78eb3adf2f5e0f43cf196d706a0b7..1939d51688b5b9c3ceb07c47525578af88e53e91 100644 (file)
@@ -32,13 +32,13 @@ OBJS        := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(OBJS) $(SOBJS)
-       $(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
 
 #########################################################################