#!/bin/sh
# This shell script automates the process of preparing packaged binary
# releases of this firmware.

set -e
mkdir -p relpkg
for f in mfw-build.map mfw-build.out mfw-build.progbin str2ind.tab
do
	cp -p mfw-build/$f relpkg
done
cp -p ../compal-flash-boot-for-fc.bin relpkg
sed -e 's,mfw-build/,,' flash-mfw > relpkg/flash-it
