Made some bash scripts for common tools
This commit is contained in:
5
ci/build-tools.sh
Executable file
5
ci/build-tools.sh
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
mkdir tools
|
||||
cd tools
|
||||
cmake .. -DDAWN_BUILD_TARGET=target-tools
|
||||
make
|
2
ci/install-libraries.sh
Executable file
2
ci/install-libraries.sh
Executable file
@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
git submodule update --init --recursive
|
24
ci/install-vita-packages.sh
Executable file
24
ci/install-vita-packages.sh
Executable file
@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
export VITASDK=/usr/local/vitasdk
|
||||
export PATH=$VITASDK/bin:$PATH
|
||||
|
||||
sudo apt-get install libarchive-tools
|
||||
git clone https://github.com/vitasdk/packages.git ~/vitapackages
|
||||
cd ~/vitapackages
|
||||
|
||||
dir_array=(
|
||||
"glm"
|
||||
"vitaShaRK"
|
||||
"libmathneon"
|
||||
"kubridge"
|
||||
"SceShaccCgExt"
|
||||
"vitaGL"
|
||||
)
|
||||
|
||||
curdir=$(pwd)
|
||||
for d in "${dir_array[@]}";do
|
||||
echo "${curdir}${d}"
|
||||
cd "${curdir}/${d}"
|
||||
vita-makepkg -C -f -d
|
||||
tar -C $VITASDK/arm-vita-eabi/ -xvf *-arm.tar.xz
|
||||
done
|
9
ci/install-vita-toolchain.sh
Executable file
9
ci/install-vita-toolchain.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
export VITASDK=/usr/local/vitasdk
|
||||
export PATH=$VITASDK/bin:$PATH
|
||||
|
||||
sudo apt-get install cmake
|
||||
git clone https://github.com/vitasdk/vdpm ~/vdpm
|
||||
cd ~/vdpm
|
||||
./bootstrap-vitasdk.sh
|
||||
./install-all.sh
|
Reference in New Issue
Block a user