From: kub Date: Thu, 9 Dec 2021 21:42:54 +0000 (+0100) Subject: build, release script revision for new gkd X-Git-Tag: v2.00~396 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b48d7de016f5bb7a286f6892e493c28c4ef9abe1;p=picodrive.git build, release script revision for new gkd --- diff --git a/tools/release.sh b/tools/release.sh index a01904ea..83de6793 100644 --- a/tools/release.sh +++ b/tools/release.sh @@ -50,8 +50,9 @@ mv PicoDrive.opk release-$1/PicoDrive-gcw0_$1.opk #TC=$HOME/opt/rg350-toolchain PATH=$TC/usr/bin:$PATH make clean all # rg350, gkd350h etc: JZ4770 or newer, newer generic gcc -# NB this may or may not work on the newer opendingux beta -TC=$HOME/opt/rg350-toolchain PATH=$HOME/opt/mips-toolchain/bin:$PATH CROSS_COMPILE=mipsel-linux- TS=$TC/usr/mipsel-gcw0-linux-uclibc/sysroot CFLAGS="-I$TS/usr/include -I$TS/usr/include/SDL -mabicalls" LDFLAGS="--sysroot $TS -Wl,--dynamic-linker=/lib/ld-uClibc.so.0" ./configure --platform=opendingux +# NB this may or may not work on the newer opendingux beta. undefine frame_info +# symbols to force linking them from libgcc.a - they might not be in the libc +TC=$HOME/opt/rg350-toolchain PATH=$HOME/opt/mips-toolchain/bin:$PATH CROSS_COMPILE=mipsel-linux- TS=$TC/usr/mipsel-gcw0-linux-uclibc/sysroot CFLAGS="-I$TS/usr/include -I$TS/usr/include/SDL -mabicalls" LDFLAGS="--sysroot $TS -Wl,--dynamic-linker=/lib/ld-uClibc.so.0 -u__register_frame_info -u__deregister_frame_info" ./configure --platform=opendingux PATH=$HOME/opt/mips-toolchain/usr/bin:$PATH make clean all mv PicoDrive.opk release-$1/PicoDrive-opendingux_$1.opk