Hey folks,
Tried posting this on ps3news, but it got deleted without warning, but dunno why... Was in the right section n' everything ?! So thought I'd try here, cos I've been blind and didn't realise there was a coding section!
I've been trying to build a .pkg file with the gen_pkg bit from the OM makefile source, mainly because SDK Package Maker keeps throwing up unhandled exceptions, although last night worked wonderfully, but now wont?! So I've got this coming up from the "make gen_pkg" cmd in msys:
Here is the makefile:Code:$ make gen_pkg /c/usr/local/cell/host-win32/ppu/bin/ppu-lv2-strip -s boxster.elf -o objs/boxste r.elf /c/usr/local/cell/host-win32/bin/make_fself.exe objs/boxster.elf EBOOT.BIN# to u se in /app_home/PS3_GAME /c/usr/local/cell/host-win32/bin/make_fself_npdrm.exe objs/boxster.elf PS3_GAME/ USRDIR/EBOOT.BIN ERROR: open PS3_GAME/USRDIR/EBOOT.BIN make: *** [gen_pkg] Error 1
The code compiles fine which is amazing, cos I've only been playing with the sdk for an hour or so!Code:.PHONY: gen_pkg npdrm_package CELL_MK_DIR ?= $(CELL_SDK)/samples/mk include $(CELL_MK_DIR)/sdk.makedef.mk NET_UTIL = ../../network/net/util PPU_CFLAGS += -mp32 PPU_CFLAGS += -DBIG_ENDIAN -DBYTE_ORDER PPU_LDFLAGS += -mp32 PPU_INCDIRS += \ -I$(NET_UTIL) PPU_SRCS = main.c PPU_LDLIBS = -lnetctl_stub -lsysmodule_stub PPU_LDLIBS += -lnet_stub -lhttp_util_stub -lhttp_stub -lnet_stub -lnetctl_stub\ -lpngdec_stub -lm -ldbgfont_gcm -lgcm_cmd -lgcm_sys_stub\ -lio_stub -lsysmodule_stub -lsysutil_stub -lfs_stub PPU_LIBS = $(NET_UTIL)/network_util.a PPU_TARGET = boxster.elf include $(CELL_MK_DIR)/sdk.target.mk $(NET_UTIL)/network_util.a: $(MAKE) -C $(NET_UTIL) gen_pkg:: $(PPU_TARGET) $(PPU_STRIP) -s $< -o $(OBJS_DIR)/$(PPU_TARGET) $(MAKE_FSELF) $(OBJS_DIR)/$(PPU_TARGET) EBOOT.BIN # to use in /app_home/PS3_GAME $(MAKE_FSELF_NPDRM) $(OBJS_DIR)/$(PPU_TARGET) PS3_GAME/USRDIR/EBOOT.BIN $(MAKE_PACKAGE_NPDRM) package.conf PS3_GAME/ # to install pkg
My dir structure has been changed from:
PS3_GAME/USRDIR - with the EBOOT.BIN in it, to:
USRDIR/ - because I thought I'd messed it up, but that doesn't work either?!
I just need someone to point out my obvious mistake, because it's been YEARS since I've used makefiles and even then my knowledge with slightly less than needed![]()
edit - Forgot to mention that the .conf file I'm using is that from the 1.16 OM release, just renamed to package.conf. Maybe that's where I'm going wrong?
Cheers in advance!![]()


LinkBack URL
About LinkBacks






