diff options
author | twinaphex | 2018-12-28 04:38:49 +0100 |
---|---|---|
committer | twinaphex | 2018-12-28 04:38:49 +0100 |
commit | 8b456289c6c31e1f36df2843f7a6044757b96dbe (patch) | |
tree | 4c507fe31910252139ab466bd50819b15c24d02f | |
parent | f4091374320a4decaf2756f3a90374e843c9f6c7 (diff) | |
download | snes9x2002-8b456289c6c31e1f36df2843f7a6044757b96dbe.tar.gz snes9x2002-8b456289c6c31e1f36df2843f7a6044757b96dbe.tar.bz2 snes9x2002-8b456289c6c31e1f36df2843f7a6044757b96dbe.zip |
Add psp1 target
-rw-r--r-- | Makefile | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -144,6 +144,20 @@ else ifeq ($(platform), classic_armv7_a7) endif ####################################### +else ifeq ($(platform), psp1) + TARGET := $(TARGET_NAME)_libretro_$(platform).a + CC = psp-gcc$(EXE_EXT) + CXX = psp-g++$(EXE_EXT) + AR = psp-ar$(EXE_EXT) + STATIC_LINKING = 1 + LOAD_FROM_MEMORY_TEST = 0 + FLAGS += -G0 + CFLAGS += \ + -march=allegrex -mno-abicalls -fno-pic \ + -fno-builtin -fno-exceptions -ffunction-sections + DEFS += -DPSP -D_PSP_FW_VERSION=371 + STATIC_LINKING := 1 + # Vita else ifeq ($(platform), vita) TARGET := $(TARGET_NAME)_libretro_$(platform).a |