Cleanup out-or-tree building for some boards (.depend)
[oweals/u-boot.git] / board / freescale / mpc8349itx / Makefile
index 31bcdb8642afcb0cc17a2c37b068fc9dde26e0d2..c81ba662fa114b75261e517ab6139d4f85c8665a 100644 (file)
@@ -31,13 +31,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
 
 #########################################################################