This commit is contained in:
Knight 2016-08-04 21:27:32 +08:00
parent 97fcf9026c
commit c0a9e1f0eb

View file

@ -10,6 +10,8 @@ ifeq ($(PROFILE),release)
PROFILE_CMD = --release PROFILE_CMD = --release
endif endif
RM := rm -rf
# Binaries # Binaries
CARGO ?= cargo CARGO ?= cargo
CARGOFLAGS ?= CARGOFLAGS ?=
@ -278,7 +280,7 @@ busytest: $(BUILDDIR)/busybox $(addprefix test_busybox_,$(filter-out $(SKIP_UTIL
endif endif
clean: clean:
$(RM) -rf $(BUILDDIR) $(RM) $(BUILDDIR)
distclean: clean distclean: clean
$(CARGO) clean $(CARGOFLAGS) && $(CARGO) update $(CARGOFLAGS) $(CARGO) clean $(CARGOFLAGS) && $(CARGO) update $(CARGOFLAGS)