Add my helper scripts

This commit is contained in:
2024-09-10 13:19:37 -04:00
parent 121af671e3
commit 2f09dfd201
3 changed files with 67 additions and 0 deletions

18
helper_scripts/build_sys.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
set -e
VER="2.0.8"
rm -fr sys161-"$VER" sys161 || true
tar xvf sys161-"$VER".tar.zst
mkdir sys161
cd sys161-"$VER"
#fix build with newer compilers
sed -i 's/uint64_t extra_selecttime/extern uint64_t extra_selecttime/' include/onsel.h
./configure --prefix=../../sys161 mipseb
bmake
bmake install