]> git.karo-electronics.de Git - karo-tx-uboot.git/blobdiff - board/pcs440ep/Makefile
cmd_usage(): simplify return code handling
[karo-tx-uboot.git] / board / pcs440ep / Makefile
index 9da90c1650036f892873f66670cb635216780c06..40446884c8a32d8c86d8223fef94a82a1fb2468f 100644 (file)
@@ -33,13 +33,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
 
 #########################################################################