| View previous topic :: View next topic |
| Author |
Message |
InflamedSpirit
Joined: 03 Oct 2005 Posts: 14
|
Posted: Tue Nov 08, 2005 6:16 am Post subject: Makefile Help |
|
|
When compiling a psp project with any makefile in the samples or any others ive seen, it makes a EBOOT.PBP, PARAM.SFO, main.o, and a .elf.
The eboot is packed with DATA.PSP and a PARAM.SFO
My question is can I have a custom makefile that will make the DATA.PSP not packed into the EBOOT and instead have it renamed as the EBOOT.PBP. This way I wouldn't have to use the PBP Unpacker to extract the DATA.PSP and rename that to EBOOT.PBP.
Heres the makefile I'm using:
| Code: |
TARGET = GameName
OBJS = main.o
INCDIR =
CFLAGS = -O2 -G0 -Wall
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
LIBDIR =
LIBS=-lm
LDFLAGS =
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = GameName
PSPSDK=$(shell psp-config --pspsdk-path)
include $(PSPSDK)/lib/build.mak
|
Thanks in advance! |
|
| Back to top |
|
 |
placasoft
Joined: 28 Mar 2005 Posts: 53
|
Posted: Tue Nov 08, 2005 6:25 am Post subject: |
|
|
| The "*.elf" file ist the DATA.PSP ;) |
|
| Back to top |
|
 |
mrbrown
Joined: 17 Jan 2004 Posts: 1536
|
Posted: Tue Nov 08, 2005 6:43 am Post subject: |
|
|
| The ELF file isn't stripped. So you can either strip it or just use "make kxploit" to create directories that can be used on 1.5. |
|
| Back to top |
|
 |
InflamedSpirit
Joined: 03 Oct 2005 Posts: 14
|
Posted: Tue Nov 08, 2005 7:02 am Post subject: |
|
|
Thanks a lot! That works great! :)
lol, I feel a little foolish now.
You said that the ELF isn't stripped, when it IS stripped what is taken away? I always figured it wasn't useful because the filesize was more than 4 times the normal eboot. |
|
| Back to top |
|
 |
misfire
Joined: 06 Sep 2004 Posts: 120 Location: Germany
|
Posted: Wed Nov 09, 2005 6:52 pm Post subject: |
|
|
| FYI, strip discards all symbols from object files, e.g. debugging symbols. |
|
| Back to top |
|
 |
|