(Libretro) Add PSP1 target

This commit is contained in:
twinaphex 2012-11-23 20:51:59 +01:00
parent 6804b15f5d
commit 1e9cbbc62c

View File

@ -57,6 +57,12 @@ else ifeq ($(platform), psl1ght)
CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT) CC = $(PS3DEV)/ppu/bin/ppu-gcc$(EXE_EXT)
AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT) AR = $(PS3DEV)/ppu/bin/ppu-ar$(EXE_EXT)
PLATFORM_DEFINES := -D__CELLOS_LV2 -DALT_RENDER 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) else ifeq ($(platform), xenon)
TARGET := libretro_xenon360.a TARGET := libretro_xenon360.a
CC = xenon-gcc$(EXE_EXT) CC = xenon-gcc$(EXE_EXT)
@ -193,6 +199,8 @@ else ifeq ($(platform), ps3)
$(AR) rcs $@ $(LIBRETRO_OBJ) $(AR) rcs $@ $(LIBRETRO_OBJ)
else ifeq ($(platform), psl1ght) else ifeq ($(platform), psl1ght)
$(AR) rcs $@ $(LIBRETRO_OBJ) $(AR) rcs $@ $(LIBRETRO_OBJ)
else ifeq ($(platform), psp1)
$(AR) rcs $@ $(LIBRETRO_OBJ)
else ifeq ($(platform), xenon) else ifeq ($(platform), xenon)
$(AR) rcs $@ $(LIBRETRO_OBJ) $(AR) rcs $@ $(LIBRETRO_OBJ)
else ifeq ($(platform), ngc) else ifeq ($(platform), ngc)