aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2021-01-30 17:37:09 +0000
committerMichael Brown <mcb30@ipxe.org>2021-01-30 17:37:09 +0000
commit6c91eebd0a7d655227936eb2ae5c0f450bdb8699 (patch)
tree4a52e70d4e69e26fba71d28e202db15224551d8f
parent5e260c73f17d9d2ccbe89244d322c0cb1586d2d8 (diff)
downloadipxe-6c91eebd0a7d655227936eb2ae5c0f450bdb8699.zip
ipxe-6c91eebd0a7d655227936eb2ae5c0f450bdb8699.tar.gz
ipxe-6c91eebd0a7d655227936eb2ae5c0f450bdb8699.tar.bz2
[build] Use recursive deletion for "make clean"
Directories may be left behind by failed filesystem image builds, and will not currently be successfully removed by a "make clean". Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/Makefile.housekeeping2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping
index 822afdf..d760f55 100644
--- a/src/Makefile.housekeeping
+++ b/src/Makefile.housekeeping
@@ -1563,7 +1563,7 @@ VERYCLEANUP := $(foreach V,$(VERYCLEANUP),$(call ALLBIN,$(V)))
endif
clean :
- $(RM) $(CLEANUP)
+ $(RM) -r $(CLEANUP)
veryclean : clean
$(RM) -r $(VERYCLEANUP)