From 5dbca5e7507d2c5665901033ec3e2281ac46341f Mon Sep 17 00:00:00 2001 From: Konrad Rzeszutek Wilk Date: Tue, 24 Jan 2012 22:15:43 -0500 Subject: [PATCH] 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 --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 \ -- 2.39.5