]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/sorcery/Makefile
Cleanup out-or-tree building for some boards (.depend)
[karo-tx-uboot.git] / board / sorcery / Makefile
index c59a3be72aaae725f37234bea253918471c177d4..434d3489801f08a4e55d8d958d822f7fd6616e9e 100644 (file)
@@ -32,13 +32,13 @@ OBJS        := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(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
 
 #########################################################################