]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Use recursive deletion for "make clean"
authorMichael Brown <mcb30@ipxe.org>
Sat, 30 Jan 2021 17:37:09 +0000 (17:37 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 30 Jan 2021 17:37:09 +0000 (17:37 +0000)
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>
src/Makefile.housekeeping

index 822afdfe57d144e58c29597b95267cf8f3f85ece..d760f5524ab7d5d315898e468e59d348596cfd5c 100644 (file)
@@ -1563,7 +1563,7 @@ VERYCLEANUP       := $(foreach V,$(VERYCLEANUP),$(call ALLBIN,$(V)))
 endif
 
 clean :
-       $(RM) $(CLEANUP)
+       $(RM) -r $(CLEANUP)
 
 veryclean : clean
        $(RM) -r $(VERYCLEANUP)