Skip to content

Instantly share code, notes, and snippets.

@makestuff
Last active July 9, 2017 08:27
Show Gist options
  • Save makestuff/37683105a8c15fbbc7e61c755188bc04 to your computer and use it in GitHub Desktop.
Save makestuff/37683105a8c15fbbc7e61c755188bc04 to your computer and use it in GitHub Desktop.
Build UMDK software version 20170708 on Windows
#!/bin/sh
echo "Starting build at $(date)"
export RELEASE=20170708
cd $HOME
rm -rf libs/* apps/* common hdlmake
cd apps
../scripts/msget.sh makestuff/flcli/${RELEASE}
../scripts/msget.sh makestuff/gordon
cd flcli
make deps
cp msvc.${MACHINE}/rel/flcli.exe /bin/
cp msvc.${MACHINE}/rel/*.dll /bin/
cd ../gordon/usb
make deps
cp msvc.${MACHINE}/rel/usb.exe /bin/gordon.exe
cp msvc.${MACHINE}/rel/*.dll /bin/
cd ../../..
scripts/msget.sh makestuff/hdlmake
cd hdlmake/apps
mkdir makestuff
cd makestuff/
../../../scripts/msget.sh makestuff/umdkv2
cd umdkv2/logread
make
cp msvc.${MACHINE}/rel/logread.exe /bin/
cp msvc.${MACHINE}/rel/*.dll /bin/
cd ../hackdump
make
cp msvc.${MACHINE}/rel/hackdump.exe /bin/
cp msvc.${MACHINE}/rel/*.dll /bin/
cd ../loader
make
cp msvc.${MACHINE}/rel/loader.exe /bin/
cp msvc.${MACHINE}/rel/*.dll /bin/
cd ../gdb-bridge
make rel
cp msvc.${MACHINE}/rel/gdb-bridge.exe /bin/
cp msvc.${MACHINE}/rel/*.dll /bin/
cp ../scripts/gdb.sh ${HOME}/scripts/
wget --no-check-certificate -qO /bin/m68k-elf-gdb.exe http://tiny.cc/umdk-gdb
echo "Finished build at $(date)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment