]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/shannon/Makefile
board/esd/common/flash.c: Fix compile warning
[karo-tx-uboot.git] / board / shannon / Makefile
index a04d841ef42e4a12e8e938259572c79f3c162ca9..16ed4cf4138ccbdbb7c09c673ed5bbf9021ad188 100644 (file)
@@ -33,13 +33,13 @@ OBJS        := $(addprefix $(obj),$(COBJS))
 SOBJS  := $(addprefix $(obj),$(SOBJS))
 
 $(LIB):        $(obj).depend $(OBJS) $(SOBJS)
-       $(AR) crv $@ $(OBJS) $(SOBJS)
+       $(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
 
 clean:
        rm -f $(SOBJS) $(OBJS)
 
 distclean:     clean
-       rm -f $(LIB) core *.bak .depend
+       rm -f $(LIB) core *.bak $(obj).depend
 
 #########################################################################