]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
makefile: Make 'linux-clean' also remove root_image/modulespace
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 25 Jan 2012 03:15:43 +0000 (22:15 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 25 Jan 2012 03:15:43 +0000 (22:15 -0500)
otherwise that directory starts accumulating cruft and can
make the initrd large.

Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Makefile

index 79c5426be986ddbe53cba503c876381e7d12b785..7601e9283461d9d8fadacb9dc538fbdeb7900e8f 100644 (file)
--- 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 \