aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--backends/psp/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/backends/psp/Makefile b/backends/psp/Makefile
index 51720c22ed..bcb5dfd3a0 100644
--- a/backends/psp/Makefile
+++ b/backends/psp/Makefile
@@ -104,4 +104,12 @@ kxploit: $(TARGET).elf $(PSP_EBOOT_SFO)
$(PACK_PBP) "$(TARGET)%/$(PSP_EBOOT)" $(PSP_EBOOT_SFO) $(PSP_EBOOT_ICON) \
$(PSP_EBOOT_ICON1) $(PSP_EBOOT_PIC0) $(PSP_EBOOT_PIC1) \
$(PSP_EBOOT_SND0) NULL $(PSP_EBOOT_PSAR)
-
+
+SCEkxploit: $(TARGET).elf $(PSP_EBOOT_SFO)
+ mkdir -p "__SCE__$(TARGET)"
+ $(STRIP) $(TARGET).elf -o __SCE__$(TARGET)/$(PSP_EBOOT)
+ mkdir -p "%__SCE__$(TARGET)"
+ $(PACK_PBP) "%__SCE__$(TARGET)/$(PSP_EBOOT)" $(PSP_EBOOT_SFO) $(PSP_EBOOT_ICON) \
+ $(PSP_EBOOT_ICON1) $(PSP_EBOOT_PIC0) $(PSP_EBOOT_PIC1) \
+ $(PSP_EBOOT_SND0) NULL $(PSP_EBOOT_PSAR)
+