forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to tell makefile to make kxploit??

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
a_noob



Joined: 17 Sep 2006
Posts: 97
Location: _start: jr 0xDEADBEEF

PostPosted: Sun Sep 17, 2006 8:41 am    Post subject: How to tell makefile to make kxploit?? Reply with quote

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
View user's profile Send private message AIM Address MSN Messenger
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Sun Sep 17, 2006 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Rekai



Joined: 12 Sep 2006
Posts: 5

PostPosted: Sun Sep 17, 2006 11:26 am    Post subject: Reply with quote

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
View user's profile Send private message
MysticWhiteDragon



Joined: 16 Feb 2006
Posts: 30

PostPosted: Sun Sep 17, 2006 11:31 pm    Post subject: Reply with quote

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
View user's profile Send private message
zoret



Joined: 19 Mar 2006
Posts: 22

PostPosted: Tue Sep 19, 2006 5:53 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group