diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a9a4481..fc48b90 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,6 +23,7 @@ jobs: run: | curl -sL https://github.com/bucanero/ps3toolchain/releases/download/ubuntu-latest-fad3b5fb/ps3dev-ubuntu-latest-2020-08-31.tar.gz | tar xvz -C ./ curl -sL https://github.com/ps3dev/PSL1GHT/raw/master/ppu/include/sysutil/sysutil.h -o ps3dev/ppu/include/sysutil/sysutil.h + curl -sL https://github.com/ps3dev/PSL1GHT/raw/master/ppu/include/sys/atomic.h -o ps3dev/ppu/include/sys/atomic.h curl -sL https://gist.github.com/bucanero/150ec41325894bbd1b4513ecb9e1cfb6/raw/1814600a1b3c804209c4f71dd6316779e160cb25/utime.h -o ps3dev/ppu/ppu/include/sys/utime.h echo "PS3DEV=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV echo "PSL1GHT=${GITHUB_WORKSPACE}/ps3dev" >> $GITHUB_ENV diff --git a/archives/archives.txt b/archives/archives.txt index b6be568..887e54d 100644 --- a/archives/archives.txt +++ b/archives/archives.txt @@ -25,7 +25,8 @@ d12e48309d6d1cfdc31a6ebf866c25db 3489179 https://github.com/Mbed-TLS/mbedtls/re - - https://github.com/wargio/NoRSX/tarball/master -> NoRSX.tar.gz - - https://github.com/sergiou87/ps3debugnet/tarball/master -> ps3debugnet.tar.gz - - https://github.com/wargio/ps3soundlib/tarball/master -> ps3soundlib.tar.gz -- - https://github.com/wargio/tiny3d/tarball/master -> tiny3d.tar.gz -- - https://github.com/bucanero/libunrar-ps3/tarball/master -> libunrar.tar.gz +- - https://github.com/wargio/tiny3d/tarball/master -> tiny3d.tar.gz +- - https://github.com/bucanero/libunrar-ps3/tarball/master -> libunrar.tar.gz - - https://github.com/sahlberg/libnfs/tarball/master -> libnfs.tar.gz - - https://github.com/sahlberg/libsmb2/tarball/master -> libsmb2.tar.gz +- - https://github.com/bucanero/pthread-emb-ps3/tarball/master -> pthread-emb-ps3.tar.gz diff --git a/scripts/032-pthread-emb.sh b/scripts/032-pthread-emb.sh new file mode 100755 index 0000000..b6d8a88 --- /dev/null +++ b/scripts/032-pthread-emb.sh @@ -0,0 +1,12 @@ +#!/bin/sh -e +# +# pthread-emb ps3 library + +## Download the source code. +../download.sh pthread-emb-ps3.tar.gz + +## Unpack the source code. +rm -Rf pthread-emb-ps3 && mkdir pthread-emb-ps3 && tar --strip-components=1 --directory=pthread-emb-ps3 -xvzf ../archives/pthread-emb-ps3.tar.gz && cd pthread-emb-ps3/platform/psl1ght + +## Compile and install. +${MAKE:-make} install