]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/freescale/mpc8313erdb/Makefile
Cleanup out-or-tree building for some boards (.depend)
[karo-tx-uboot.git] / board / freescale / mpc8313erdb / Makefile
index a987e510dd24992a74685f5aeced1c7ebeca7de2..7c34c5e1641a64fd69a670837c85a3f9cd430959 100644 (file)
@@ -32,13 +32,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
 
 #########################################################################