| View previous topic :: View next topic |
| Author |
Message |
a_noob
Joined: 17 Sep 2006 Posts: 97 Location: _start: jr 0xDEADBEEF
|
Posted: Sun Sep 17, 2006 8:41 am Post subject: How to tell makefile to make kxploit?? |
|
|
Yes dont bash me i know how to tell the command line to make kxploit but iwant to know how you do it in you make file
I was also wonderinf about how to compile with the 2.80 tiif sdk pm if you can help _________________
| Code: | .øOº'ºOø.
'ºOo.oOº' |
|
|
| Back to top |
|
 |
hlide
Joined: 10 Sep 2006 Posts: 750
|
Posted: Sun Sep 17, 2006 9:48 am Post subject: |
|
|
2.80 sdk ? are you speaking about Fajita's mini-SDK ? there is no point to make use of kxploit, since it only works for FW 1.5.
If you have a FW 1.50, you'd better use the real SDK and just type "make kxploit".
Fajita's mini-SDK is a very limited solution for simple homebrew while they are still struggling to bring us a real SDK on 2.XX world. |
|
| Back to top |
|
 |
Rekai
Joined: 12 Sep 2006 Posts: 5
|
Posted: Sun Sep 17, 2006 11:26 am Post subject: |
|
|
That's what I have added to my makefile:
| Code: | $(TARGET)_strip.elf: $(TARGET).elf
$(STRIP) $(TARGET).elf -o $(TARGET)_strip.elf
./$(TARGET)%/EBOOT.PBP: $(PSP_EBOOT_SFO)
pack-pbp ./bin/1_5/$(TARGET)%/EBOOT.PBP PARAM.SFO Icon.png NULL NULL NULL NULL NULL NULL
./$(TARGET)/EBOOT.PBP: $(TARGET)_strip.elf
cp $(TARGET)_strip.elf ./bin/1_5/$(TARGET)/EBOOT.PBP
|
it is based in the makefile of a pvnc al version. It works ^^ |
|
| Back to top |
|
 |
MysticWhiteDragon
Joined: 16 Feb 2006 Posts: 30
|
Posted: Sun Sep 17, 2006 11:31 pm Post subject: |
|
|
I use the following to make mine ready to drag and drop onto the 1.5FW PSP
| Quote: |
TARGET = test
OBJS = src/main.o src/psp/graphics.o
CFLAGS = -O2 -G0 -Wall -I"C:/PSPDev/include" -I"src/psp"
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
ASFLAGS = $(CFLAGS)
#USE_PSPSDK_LIBC = 1
LIBDIR =
LDFLAGS = -DMODULE_NAME="Title" psp-setup.c
LIBS = -lpspgu -lm
EXTRA_TARGETS = EBOOT.PBP
PSP_EBOOT_TITLE = title
#PSP_EBOOT_ICON = res/ICON0.PNG
#PSP_EBOOT_PIC1 = res/PIC1.PNG
#PSPSDK=$(shell psp-config --pspsdk-path)
PSPSDK=C:/PSPDev/psp/sdk
STRIP=C:/PSPDev/psp/bin/strip.exe
include $(PSPSDK)/lib/build.mak
EBOOT.PBP: $(PSP_EBOOT_SFO)
$(STRIP) $(TARGET).elf -o $(TARGET)_strip.elf
pack-pbp bin/%__SCE__$(TARGET)/EBOOT.PBP PARAM.SFO $(PSP_EBOOT_ICON) NULL NULL $(PSP_EBOOT_PIC1) NULL NULL NULL
C:/cygwin/bin/cp $(TARGET)_strip.elf bin/__SCE__$(TARGET)/EBOOT.PBP
|
|
|
| Back to top |
|
 |
zoret
Joined: 19 Mar 2006 Posts: 22
|
Posted: Tue Sep 19, 2006 5:53 am Post subject: |
|
|
you need to modify the vs-pspdev.bat in cygwin with :
@c:\cygwin\bin\bash -c 'export VS_PATH=`pwd`; /bin/bash --login -c "/vs-pspdev.sh %1 %2 %3 %4 %5"' |
|
| Back to top |
|
 |
|