Ticket #9114: patch.diff
File patch.diff, 2.0 KB (added by , 15 years ago) |
---|
-
configure
900 900 _host_os=psp 901 901 _host_cpu=mipsallegrexel 902 902 _host_alias=psp 903 if test -z "$PSPDEV"; then 904 PSPDEV=$(psp-config --pspdev-path) 905 fi 906 if test -d "$PSPDEV/psp/lib"; then 907 LDFLAGS="$LDFLAGS -L$PSPDEV/psp/lib" 908 fi 903 909 LDFLAGS="$LDFLAGS -L$PSPDEV/psp/sdk/lib -specs=$_srcdir/backends/platform/psp/psp.spec" 904 910 ;; 905 911 ps2) … … 2307 2313 DEFINES="$DEFINES -D__PSP__ -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE -DDISABLE_DOSBOX_OPL" 2308 2314 INCLUDES="$INCLUDES -I$PSPDEV/psp/include/SDL" 2309 2315 LIBS="$LIBS -lpng -lSDL" 2316 SDLLIBS=$($PSPDEV/psp/bin/sdl-config --libs) 2317 2318 if `echo "$SDLLIBS" | grep ".*-lGL.*" 1>/dev/null 2>&1` 2319 then 2320 LIBS="$LIBS -lGL" 2321 fi 2310 2322 ;; 2311 2323 ps2) 2312 2324 # TODO ps2 -
backends/platform/psp/psp.spec
1 1 %rename lib old_lib 2 2 *lib: 3 %(old_lib) -l pspdebug -lpspgu -lpspctrl -lpspge -lpspdisplay -lpsphprm -lpspsdk -lpsprtc -lpspaudio -lc -lpspuser -lpsputility -lpspkernel -lpspnet_inet -lz -lstdc++ -lc -lpspdisplay -lpspgu -lpspctrl -lpspsdk -lpspnet -lpspnet_inet -lpsputility -lpspuser -lpsppower3 %(old_lib) -lz -lstdc++ -lc -lm -lpspvfpu -lpspdebug -lpspgu -lpspge -lpspdisplay -lpspctrl -lpspsdk -lpsputility -lpspuser -lpsppower -lpsphprm -lpsprtc -lpspaudio -
backends/platform/psp/Makefile
128 128 129 129 # Add in PSPSDK includes and libraries. 130 130 CXXFLAGS += $(SDLFLAGS) 131 LIBS += -lpng -l z -lstdc++ -lc $(SDLLIBS) $(PSPLIBS)131 LIBS += -lpng -lSDL -lz $(findstring -lGL,$(SDLLIBS)) -lstdc++ -lc -lm $(filter -L%,$(SDLLIBS)) $(PSPLIBS) 132 132 133 133 OBJS := powerman.o \ 134 134 psp_main.o \