How to tell makefile to make kxploit??

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
a_noob
Posts: 97
Joined: Sun Sep 17, 2006 8:33 am
Location: _start: jr 0xDEADBEEF

How to tell makefile to make kxploit??

Post by a_noob »

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: Select all

.øOº'ºOø.
'ºOo.oOº'
hlide
Posts: 739
Joined: Sun Sep 10, 2006 2:31 am

Post by hlide »

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.
Rekai
Posts: 5
Joined: Tue Sep 12, 2006 6:14 am

Post by Rekai »

That's what I have added to my makefile:

Code: Select all

$(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 ^^
MysticWhiteDragon
Posts: 30
Joined: Thu Feb 16, 2006 8:46 am

Post by MysticWhiteDragon »

I use the following to make mine ready to drag and drop onto the 1.5FW PSP
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
zoret
Posts: 22
Joined: Sun Mar 19, 2006 7:57 pm

Post by zoret »

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"'
Post Reply