annotate buildsys/scripts/elf-to-psp-eboot.sh @ 324:dd78bd0152af
- removal of never-adopted mini-test framework stub
- test/plain: better output and cleanup
- test/plain_c++: better output and re-enabled this calls for other platforms than windows (was disabled by mistake)
author |
Tassilo Philipp |
date |
Thu, 21 Nov 2019 12:50:37 +0100 |
parents |
3e629dc19168 |
children |
|
rev |
line source |
0
|
1 #!/bin/sh
|
|
2
|
|
3 if ! [ -x "$1" ]; then
|
|
4 echo Usage: $0 \<elf\>
|
|
5 exit 1
|
|
6 fi
|
|
7
|
|
8 TITLE=`basename $1`
|
|
9 SFO=/tmp/${TITLE}.sfo
|
|
10 FIXED_ELF=/tmp/${TITLE}.fixed
|
|
11 STRIPPED_ELF=/tmp/${TITLE}.stripped
|
|
12
|
|
13 mksfo dyncall_${TITLE} $SFO
|
|
14 psp-fixup-imports -o $FIXED_ELF $1
|
|
15 psp-strip $FIXED_ELF -o $STRIPPED_ELF
|
|
16 pack-pbp EBOOT.PBP $SFO NULL NULL NULL NULL NULL $STRIPPED_ELF NULL
|
|
17 rm $SFO
|
|
18 rm $FIXED_ELF
|
|
19 rm $STRIPPED_ELF
|