diff options
author | Joost Peters | 2009-08-14 16:13:00 +0000 |
---|---|---|
committer | Joost Peters | 2009-08-14 16:13:00 +0000 |
commit | 6fae9bc3f44a8579fbf08a885ac7db517868ee02 (patch) | |
tree | 8842c7632982c799607be4c9143ca6461343fd72 /backends/platform/psp | |
parent | 5e90ce35365b5496fccd533bcd7a281ff68ce8ea (diff) | |
download | scummvm-rg350-6fae9bc3f44a8579fbf08a885ac7db517868ee02.tar.gz scummvm-rg350-6fae9bc3f44a8579fbf08a885ac7db517868ee02.tar.bz2 scummvm-rg350-6fae9bc3f44a8579fbf08a885ac7db517868ee02.zip |
PSP: create an EBOOT.PBP when building via configure
svn-id: r43369
Diffstat (limited to 'backends/platform/psp')
-rw-r--r-- | backends/platform/psp/psp.mk | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/backends/platform/psp/psp.mk b/backends/platform/psp/psp.mk index ff81a567d6..54a9d1a016 100644 --- a/backends/platform/psp/psp.mk +++ b/backends/platform/psp/psp.mk @@ -1,6 +1,24 @@ -all: psp_fixup_elf +all: pack_pbp -psp_fixup_elf: scummvm.elf +PSP_EXE := scummvm$(EXEEXT) +PSP_EXE_STRIPPED := scummvm_stripped$(EXEEXT) +PACK_PBP = pack-pbp + +$(PSP_EXE_STRIPPED): $(PSP_EXE) + $(STRIP) $< -o $@ + +psp_fixup_elf: $(PSP_EXE_STRIPPED) $(PSPDEV)/bin/psp-fixup-imports $< -.PHONY: psp_fixup_elf +pack_pbp: psp_fixup_elf + $(PACK_PBP) EBOOT.PBP \ + $(srcdir)/backends/platform/psp/param.sfo \ + $(srcdir)/backends/platform/psp/icon0.png \ + NULL \ + $(srcdir)/backends/platform/psp/pic0.png \ + $(srcdir)/backends/platform/psp/pic1.png \ + NULL \ + $(PSP_EXE_STRIPPED) \ + NULL + +.PHONY: psp_fixup_elf pack_pbp |