summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0d2240bc5..295b15381 100644
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,7 @@ install_only:
make -C tools/$(ARCH)/cd install ROOTDEST=$(ROOTDEST)
endif
cd $(ROOTDEST)/images; rm -rf alternatives
+ rm -f $(ROOTDEST)/images/*.img-cdcom*
if [ `ls $(ROOTDEST)/images/*.img-* 2>/dev/null | wc -l` -gt 0 ]; then \
cd $(ROOTDEST)/images; mkdir alternatives; cd alternatives; mv ../*.img-* .; md5sum *.img-* > MD5SUM; \
fi