You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
587 B
Bash
18 lines
587 B
Bash
#! /bin/bash
|
|
set -ex
|
|
SDK="${VITASDK-../sdk}"
|
|
|
|
CFLAGS=(
|
|
-Os -nostdlib -Wl,-q
|
|
-Wall -Wextra -Wno-unused-parameter -Wno-empty-body
|
|
-Werror=implicit-function-declaration -Werror=int-conversion
|
|
-Werror=incompatible-pointer-types
|
|
)
|
|
LIBS=(
|
|
-lSceKernelModulemgr_stub -lSceIofilemgr_stub -lSceLibKernel_stub
|
|
-lSceGxm_stub -lSceSysmem_stub -ltaihen_stub -lgcc)
|
|
|
|
"$SDK/bin/arm-vita-eabi-gcc" "${CFLAGS[@]}" skinpeel.c "${LIBS[@]}" -o skinpeel.elf
|
|
"$SDK/bin/vita-elf-create" -e plugin.yml skinpeel.elf skinpeel.velf
|
|
"$SDK/bin/vita-make-fself" -c skinpeel.velf skinpeel.suprx
|