summaryrefslogtreecommitdiffstats
path: root/rbutil/mkamsboot/Makefile
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-10-11 09:47:15 +0000
committerDave Chapman <dave@dchapman.com>2009-10-11 09:47:15 +0000
commit747b9ca258f56b38260481ab973fff5f2a6618b2 (patch)
treeead2e6c00c53dab62a75491d3fd2373ab815cfb5 /rbutil/mkamsboot/Makefile
parent8e33c2f17f90f178af1fd4d1d09fb498f6752a2a (diff)
downloadrockbox-747b9ca258f56b38260481ab973fff5f2a6618b2.tar.gz
rockbox-747b9ca258f56b38260481ab973fff5f2a6618b2.zip
mkamsboot: allow the version string to be overridden from the commandline - e.g. "make APPVERSION=v1.1 mkamsboot".
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23097 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/mkamsboot/Makefile')
-rw-r--r--rbutil/mkamsboot/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/rbutil/mkamsboot/Makefile b/rbutil/mkamsboot/Makefile
index e2af93716b..cb8b2b8207 100644
--- a/rbutil/mkamsboot/Makefile
+++ b/rbutil/mkamsboot/Makefile
@@ -4,7 +4,9 @@ LIBUCL=../../tools/ucl/src/libucl$(RBARCH).a
CC = gcc
#change for releases
+ifndef APPVERSION
APPVERSION=`../../tools/version.sh`
+endif
ifndef V
SILENT = @