aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp
diff options
context:
space:
mode:
authorJoost Peters2009-08-14 18:02:17 +0000
committerJoost Peters2009-08-14 18:02:17 +0000
commit8800cabae51d770aba0feef1791cb6d4012ef531 (patch)
tree2362784ba11357f327d510e32ec0e55be4bf897d /backends/platform/psp
parent17f7c13ba314803d7ee8eba03ac0d24ac24a4d54 (diff)
downloadscummvm-rg350-8800cabae51d770aba0feef1791cb6d4012ef531.tar.gz
scummvm-rg350-8800cabae51d770aba0feef1791cb6d4012ef531.tar.bz2
scummvm-rg350-8800cabae51d770aba0feef1791cb6d4012ef531.zip
PSP: also create param.sfo when building via configure
svn-id: r43384
Diffstat (limited to 'backends/platform/psp')
-rw-r--r--backends/platform/psp/psp.mk19
1 files changed, 14 insertions, 5 deletions
diff --git a/backends/platform/psp/psp.mk b/backends/platform/psp/psp.mk
index 8aeb040528..80a8ff1db5 100644
--- a/backends/platform/psp/psp.mk
+++ b/backends/platform/psp/psp.mk
@@ -1,23 +1,32 @@
all: pack_pbp
clean: psp_clean
+
PSP_EXE := scummvm$(EXEEXT)
PSP_EXE_STRIPPED := scummvm_stripped$(EXEEXT)
-EBOOT = EBOOT.PBP
+PSP_EBOOT = EBOOT.PBP
+PSP_EBOOT_SFO = param.sfo
+PSP_EBOOT_TITLE = ScummVM-PSP
+
+MKSFO = mksfo
PACK_PBP = pack-pbp
+
$(PSP_EXE_STRIPPED): $(PSP_EXE)
$(STRIP) $< -o $@
+$(PSP_EBOOT_SFO):
+ $(MKSFO) '$(PSP_EBOOT_TITLE)' $@
+
psp_clean:
- $(RM) $(PSP_EXE_STRIPPED) $(EBOOT)
+ $(RM) $(PSP_EXE_STRIPPED) $(PSP_EBOOT) $(PSP_EBOOT_SFO)
psp_fixup_elf: $(PSP_EXE_STRIPPED)
$(PSPDEV)/bin/psp-fixup-imports $<
-pack_pbp: psp_fixup_elf
- $(PACK_PBP) $(EBOOT) \
- $(srcdir)/backends/platform/psp/param.sfo \
+pack_pbp: psp_fixup_elf $(PSP_EBOOT_SFO)
+ $(PACK_PBP) $(PSP_EBOOT) \
+ $(PSP_EBOOT_SFO) \
$(srcdir)/backends/platform/psp/icon0.png \
NULL \
$(srcdir)/backends/platform/psp/pic0.png \