Add PSP host.
This commit is contained in:
@ -1,5 +0,0 @@
|
||||
#!/bin/bash
|
||||
mkdir tools
|
||||
cd tools
|
||||
cmake .. -DDAWN_BUILD_TARGET=target-tools
|
||||
make
|
@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
git submodule update --init --recursive
|
@ -1,2 +0,0 @@
|
||||
#!/bin/bash
|
||||
sudo apt install build-essential
|
@ -1,38 +0,0 @@
|
||||
#!/bin/bash
|
||||
sudo apt-get install cmake libarchive-tools
|
||||
git clone https://github.com/vitasdk/vdpm ~/vdpm
|
||||
cd ~/vdpm
|
||||
./bootstrap-vitasdk.sh
|
||||
export PATH=$VITASDK/bin:$PATH
|
||||
|
||||
git clone https://github.com/vitasdk/packages.git ~/vitapackages
|
||||
cd ~/vitapackages
|
||||
|
||||
dir_array=(
|
||||
zlib
|
||||
bzip2
|
||||
henkaku
|
||||
taihen
|
||||
kubridge
|
||||
openal-soft
|
||||
openssl
|
||||
curl
|
||||
curlpp
|
||||
expat
|
||||
opus
|
||||
opusfile
|
||||
glm
|
||||
kuio
|
||||
vitaShaRK
|
||||
libmathneon
|
||||
vitaGL
|
||||
SceShaccCgExt
|
||||
)
|
||||
|
||||
curdir=$(pwd)
|
||||
for d in "${dir_array[@]}";do
|
||||
echo "${curdir}${d}"
|
||||
cd "${curdir}/${d}"
|
||||
vita-makepkg
|
||||
vdpm *-arm.tar.xz
|
||||
done
|
3
ci/psp/Dockerfile
Normal file
3
ci/psp/Dockerfile
Normal file
@ -0,0 +1,3 @@
|
||||
FROM pspdev/pspdev
|
||||
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
||||
RUN psp-pacman -Sy pspgl glm
|
14
ci/psp/docker-compose.yml
Normal file
14
ci/psp/docker-compose.yml
Normal file
@ -0,0 +1,14 @@
|
||||
services:
|
||||
dawn-psp:
|
||||
build: .
|
||||
volumes:
|
||||
- ./../../:/Dawn
|
||||
working_dir: /Dawn
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
mkdir -p ./build/psp
|
||||
cd ./build/psp
|
||||
psp-cmake ../.. -DDAWN_BUILD_SYSTEM=psp -DCMAKE_BUILD_TYPE=Debug
|
||||
make
|
@ -1,10 +0,0 @@
|
||||
#!/bin/bash
|
||||
mkdir -p vita/build
|
||||
cd vita/build
|
||||
if [ ! -d "src" ]
|
||||
then
|
||||
cmake ../.. -DDAWN_BUILD_TARGET=target-helloworld-vita -DCMAKE_BUILD_TYPE=Debug
|
||||
fi
|
||||
make
|
||||
cp ./src/dawnvita/*.vpk ../
|
||||
cd ../..
|
15
ci/vita/docker-compose.yml
Normal file
15
ci/vita/docker-compose.yml
Normal file
@ -0,0 +1,15 @@
|
||||
services:
|
||||
dawn-vita:
|
||||
image: gnuton/vitasdk-docker
|
||||
volumes:
|
||||
- ./../../:/Dawn
|
||||
working_dir: /Dawn
|
||||
command:
|
||||
- /bin/bash
|
||||
- -c
|
||||
- |
|
||||
rm -rf ./build/vita
|
||||
mkdir -p ./build/vita
|
||||
cd ./build/vita
|
||||
cmake ../.. -DDAWN_BUILD_SYSTEM=vita -DCMAKE_BUILD_TYPE=Debug
|
||||
make
|
Reference in New Issue
Block a user