summaryrefslogtreecommitdiff
path: root/saucy-armhf-developer
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-05-05 13:51:49 +0300
committerFathi Boudra <fathi.boudra@linaro.org>2014-05-05 13:51:49 +0300
commit2c4e07eb992e1bcefd45e574c946006c61db8789 (patch)
tree419eead5aff6840b4271aef294735ba7ffb0afa0 /saucy-armhf-developer
parent969f7d26b3842be109879d470f9e7bba7a762167 (diff)
Improve make clean
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Diffstat (limited to 'saucy-armhf-developer')
-rwxr-xr-xsaucy-armhf-developer/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/saucy-armhf-developer/Makefile b/saucy-armhf-developer/Makefile
index e102184..f0ccf03 100755
--- a/saucy-armhf-developer/Makefile
+++ b/saucy-armhf-developer/Makefile
@@ -7,7 +7,9 @@
# You need live-build package installed and superuser privileges.
-IMAGEPREFIX=linaro-saucy-developer-`date +%Y%m%d`-$(BUILD_NUMBER)
+BUILD_NUMBER?=1
+BASEIMG=linaro-saucy-developer
+IMAGEPREFIX=$(BASEIMG)-`date +%Y%m%d`-$(BUILD_NUMBER)
LOGFILE=$(IMAGEPREFIX).build-log.txt
CONFIGFILE=$(IMAGEPREFIX).config.tar.bz2
LISTFILE=$(IMAGEPREFIX).contents
@@ -29,4 +31,5 @@ all:
clean:
sudo lb clean --purge
- rm -f $(IMAGEPREFIX).*
+ rm -f $(BASEIMG)-*
+ rm -rf config