diff options
Diffstat (limited to 'backends/platform/sdl/psp2/psp2.mk')
-rw-r--r-- | backends/platform/sdl/psp2/psp2.mk | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/backends/platform/sdl/psp2/psp2.mk b/backends/platform/sdl/psp2/psp2.mk new file mode 100644 index 0000000000..b719ed7acf --- /dev/null +++ b/backends/platform/sdl/psp2/psp2.mk @@ -0,0 +1,26 @@ +DATE := $(shell date +%y-%m-%d) + +psp2vpk: $(EXECUTABLE) + rm -rf psp2pkg + rm -f $(EXECUTABLE)-$(DATE).vpk + mkdir -p psp2pkg/sce_sys/livearea/contents + mkdir -p psp2pkg/data/ + mkdir -p psp2pkg/doc/ + vita-elf-create $(EXECUTABLE) $(EXECUTABLE).velf + vita-make-fself -s -c $(EXECUTABLE).velf psp2pkg/eboot.bin + vita-mksfoex -s TITLE_ID=VSCU00001 "$(EXECUTABLE)" psp2pkg/sce_sys/param.sfo + cp $(srcdir)/dists/psp2/icon0.png psp2pkg/sce_sys/ + cp $(srcdir)/dists/psp2/template.xml psp2pkg/sce_sys/livearea/contents/ + cp $(srcdir)/dists/psp2/bg.png psp2pkg/sce_sys/livearea/contents/ + cp $(srcdir)/dists/psp2/startup.png psp2pkg/sce_sys/livearea/contents/ + cp $(srcdir)/backends/vkeybd/packs/vkeybd_default.zip psp2pkg/data/ + cp $(srcdir)/backends/vkeybd/packs/vkeybd_small.zip psp2pkg/data/ + cp $(DIST_FILES_THEMES) psp2pkg/data/ +ifdef DIST_FILES_ENGINEDATA + cp $(DIST_FILES_ENGINEDATA) psp2pkg/data/ +endif + cp $(DIST_FILES_DOCS) psp2pkg/doc/ + cp $(srcdir)/dists/psp2/readme-psp2.md psp2pkg/doc/ + cd psp2pkg && zip -r ../$(EXECUTABLE)-$(DATE).vpk . && cd .. + +.PHONY: psp2vpk |