From: Konrad Rzeszutek Wilk Date: Wed, 25 Jan 2012 03:15:43 +0000 (-0500) Subject: makefile: Make 'linux-clean' also remove root_image/modulespace X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5dbca5e7507d2c5665901033ec3e2281ac46341f;p=xentesttools%2Fbootstrap.git makefile: Make 'linux-clean' also remove root_image/modulespace otherwise that directory starts accumulating cruft and can make the initrd large. Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/Makefile b/Makefile index 79c5426..7601e92 100644 --- a/Makefile +++ b/Makefile @@ -126,6 +126,9 @@ linux-clean: if [ -e linux ]; then \ rm -rf $(LINUX_DST) \ ;fi + if [ -e root_image/modulespace ]; then \ + rm -rf root_image/modulespace; \ + fi linux-distclean: linux-clean if [ -e linux ]; then \