| View previous topic :: View next topic |
| Author |
Message |
_df_

Joined: 01 Jun 2007 Posts: 9
|
Posted: Wed Jun 06, 2007 7:34 am Post subject: mikmodlib make patch |
|
|
there is a fault in the makefile in playercode...
only found since I install to /opt/psp instead of /usr/local
| Code: |
Index: playercode/Makefile
===================================================================
--- playercode/Makefile (revision 2243)
+++ playercode/Makefile (working copy)
@@ -1,5 +1,8 @@
# MikMod Library Makefile for PSP
# Divine Entertainment Game Programming Pack
+
+PSPSDK=$(shell psp-config --pspsdk-path)
+PSPDIR=$(shell psp-config --psp-prefix)
####################
@@ -8,7 +11,7 @@
# Use the C or C++ compiler
CC = psp-gcc
-CFLAGS = -G0 -O2 -I. -I../include -I/usr/local/pspdev/psp/sdk/include -g -DPSP
+CFLAGS = -G0 -O2 -I. -I../include -I$(PSPSDK)/include -g -DPSP
Lib_file = ../lib/libmikmod.a
|
this was svn diff'ed from the top of mikmodlib |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Jun 06, 2007 4:53 pm Post subject: |
|
|
Patched it, thanks.
I also removed a ton of other hardcoded references to /usr/local/pspdev in the repository. Openssl still has some though. |
|
| Back to top |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Wed Jun 06, 2007 5:23 pm Post subject: |
|
|
ok, couldn't resist, I cleaned up openssl too.
Shouldn't be any hardcoded references left in the svn repos anymore. |
|
| Back to top |
|
 |
_df_

Joined: 01 Jun 2007 Posts: 9
|
Posted: Wed Jun 06, 2007 9:10 pm Post subject: |
|
|
| wierd, openssl built fine for me, I didnt run into any problems (once I patched the newlib _timer issue). |
|
| Back to top |
|
 |
|