summaryrefslogtreecommitdiff
path: root/trusty-arm64-nano/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trusty-arm64-nano/Makefile')
-rwxr-xr-xtrusty-arm64-nano/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/trusty-arm64-nano/Makefile b/trusty-arm64-nano/Makefile
index cdca2b5..1f7c823 100755
--- a/trusty-arm64-nano/Makefile
+++ b/trusty-arm64-nano/Makefile
@@ -7,7 +7,9 @@
# You need live-build package installed and superuser privileges.
-IMAGEPREFIX=linaro-trusty-nano-`date +%Y%m%d`-$(BUILD_NUMBER)
+BUILD_NUMBER?=1
+BASEIMG=linaro-trusty-nano
+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