From b48d7de016f5bb7a286f6892e493c28c4ef9abe1 Mon Sep 17 00:00:00 2001 From: kub Date: Thu, 9 Dec 2021 22:42:54 +0100 Subject: [PATCH] build, release script revision for new gkd --- tools/release.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 -- 2.39.2