]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/sbc405/Makefile
Merge branch 'next' of ../next
[karo-tx-uboot.git] / board / sbc405 / Makefile
index 9b9f033f5e1095960d523b35e8f5dca99f60b6bb..1c60447e85483ac51c5d52c111cc9804538f0649 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
 
 #########################################################################