make: use "cargo clean" instead of removing the target/$profile folder

This commit is contained in:
Terts Diepraam
2022-01-26 19:48:31 +01:00
parent 9dbff22101
commit d12459563c
+1 -1
View File
@@ -313,7 +313,7 @@ busytest: $(BUILDDIR)/busybox $(addprefix test_busybox_,$(filter-out $(SKIP_UTIL
endif
clean:
$(RM) $(BUILDDIR)
cargo clean
cd $(DOCSDIR) && $(MAKE) clean
distclean: clean