16 BUILD_DIST=y ARCH=$ARCH make clean all-install
17 while [ $# -ge 2 ]; do
18 BUILD_DIST=y ARCH=$ARCH PLATFORM=$2 make
21 tar --transform="s|Dist/($ARCH/)*|Acess/|x" -zcf Releases/Acess2_latest_${ARCH}_bin.tar.gz Dist/$ARCH Dist/Acess2.$ARCH.gz
22 mdeltree b:/Acess2 2>&1 >/dev/null || true
23 mcopy -s Dist/$ARCH/ b:/Acess2
24 mcopy Dist/Acess2* b:/Acess2/Acess2.gz
25 gzip -c AcessRelease.img > Releases/Acess2_latest_${ARCH}.img.gz