mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
BACKENDS: strip psp2 executable to reduce size
This commit is contained in:
parent
4a7f8c18c5
commit
bd1b346e08
@ -1,10 +1,15 @@
|
||||
psp2vpk: $(EXECUTABLE)
|
||||
PSP2_EXE_STRIPPED := scummvm_stripped$(EXEEXT)
|
||||
|
||||
$(PSP2_EXE_STRIPPED): $(EXECUTABLE)
|
||||
$(STRIP) --strip-debug $< -o $@
|
||||
|
||||
psp2vpk: $(PSP2_EXE_STRIPPED)
|
||||
rm -rf psp2pkg
|
||||
rm -f $(EXECUTABLE).vpk
|
||||
mkdir -p psp2pkg/sce_sys/livearea/contents
|
||||
mkdir -p psp2pkg/data/
|
||||
mkdir -p psp2pkg/doc/
|
||||
vita-elf-create $(EXECUTABLE) $(EXECUTABLE).velf
|
||||
vita-elf-create $(PSP2_EXE_STRIPPED) $(EXECUTABLE).velf
|
||||
vita-make-fself -s -c $(EXECUTABLE).velf psp2pkg/eboot.bin
|
||||
vita-mksfoex -s TITLE_ID=VSCU00001 -d ATTRIBUTE2=12 "$(EXECUTABLE)" psp2pkg/sce_sys/param.sfo
|
||||
cp $(srcdir)/dists/psp2/icon0.png psp2pkg/sce_sys/
|
||||
|
Loading…
Reference in New Issue
Block a user