[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>
pull/242/head
Michael Brown 2021-01-30 17:37:09 +00:00
parent 5e260c73f1
commit 6c91eebd0a
1 changed files with 1 additions and 1 deletions

View File

@ -1563,7 +1563,7 @@ VERYCLEANUP := $(foreach V,$(VERYCLEANUP),$(call ALLBIN,$(V)))
endif
clean :
$(RM) $(CLEANUP)
$(RM) -r $(CLEANUP)
veryclean : clean
$(RM) -r $(VERYCLEANUP)