Release set script added, assumes mtools b:\ is destination
authorJohn Hodge <[email protected]>
Sun, 21 Aug 2011 08:44:22 +0000 (16:44 +0800)
committerJohn Hodge <[email protected]>
Sun, 21 Aug 2011 08:44:22 +0000 (16:44 +0800)
.gitignore
MakeReleaseSet [new file with mode: 0755]

index eb1e7d6..bd06742 100644 (file)
@@ -34,5 +34,5 @@ gitstats/
 .*
 
 *.res.h
-
+Dist/
 obj-*/
diff --git a/MakeReleaseSet b/MakeReleaseSet
new file mode 100755 (executable)
index 0000000..5d5bbd7
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh
+rm -rf Dist
+if [ $# -gt 1 ]; then
+       for arch in $*; do
+               echo $arch
+               BUILD_DIST=y ARCH=$arch make install
+       done
+else
+       BUILD_DIST=y make install
+fi
+tar -zcf Acess2_latest_bin.tar.gz Dist/*
+mdeltree b:/Acess2
+mcopy -s Dist/ b:/Acess2
+gzip -c AcessRelease.img > Acess2_latest.img.gz

UCC git Repository :: git.ucc.asn.au