From 1e9cbbc62c1dd0cc39f82d586e3b8f8ea8ad1fba Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 23 Nov 2012 20:51:59 +0100 Subject: [PATCH 1/2] (Libretro) Add PSP1 target --- Makefile.libretro | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 94bdbc9..3b5ce1e 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -57,6 +57,12 @@ else ifeq ($(platform), psl1ght) CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT) AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT) PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER +else ifeq ($(platform), psp1) + TARGET := libretro_psp1.a$(EXE_EXT) + CC = psp-gcc$(EXE_EXT) + AR = psp-ar$(EXE_EXT) + ENDIANNESS_DEFINES := -DLSB_FIRST + PLATFORM_DEFINES := -DPSP else ifeq ($(platform), xenon) TARGET := libretro_xenon360.a CC = xenon-gcc$(EXE_EXT) @@ -193,6 +199,8 @@ else ifeq ($(platform), ps3) $(AR) rcs $@ $(LIBRETRO_OBJ) else ifeq ($(platform), psl1ght) $(AR) rcs $@ $(LIBRETRO_OBJ) +else ifeq ($(platform), psp1) + $(AR) rcs $@ $(LIBRETRO_OBJ) else ifeq ($(platform), xenon) $(AR) rcs $@ $(LIBRETRO_OBJ) else ifeq ($(platform), ngc) From a1823e07bff0489b1caeedd096ba1542f1b9f9ae Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 24 Nov 2012 04:34:19 +0100 Subject: [PATCH 2/2] (PSP libretro) Add -G0 --- Makefile.libretro | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.libretro b/Makefile.libretro index 3b5ce1e..6cdb82a 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -63,6 +63,7 @@ else ifeq ($(platform), psp1) AR = psp-ar$(EXE_EXT) ENDIANNESS_DEFINES := -DLSB_FIRST PLATFORM_DEFINES := -DPSP + CFLAGS += -G0 else ifeq ($(platform), xenon) TARGET := libretro_xenon360.a CC = xenon-gcc$(EXE_EXT)