(PS3) use custom Makefile rules for shader subrepo

This commit is contained in:
TwinAphex51224 2012-01-29 04:35:42 +01:00
parent d207eb0b1e
commit a685701805
3 changed files with 7 additions and 8 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "ps3/pkg/USRDIR/shaders"]
path = ps3/pkg/USRDIR/shaders
url = git://github.com/twinaphex/common-shaders.git

View File

@ -4,8 +4,9 @@
##
###
##
DEBUG = 0
CELL_BUILD_TOOLS = GCC
DEBUG = 0
CELL_BUILD_TOOLS = GCC
DOWNLOAD_SHADERS = 1
## Platform detection from nall/Makefile. Only two applicable hosts for PS3 SDK.
ifeq ($(platform),)
@ -73,8 +74,10 @@ $(PPU_TARGET): $(OBJ)
pkg: $(PPU_TARGET)
cp ssnes.cfg ps3/pkg/USRDIR/
git submodule init
git submodule update
ifeq ($(DOWNLOAD_SHADERS),1)
rm -rf ps3/pkg/USRDIR/shaders
git clone git://github.com/twinaphex/common-shaders.git ps3/pkg/USRDIR/shaders
endif
cp ps3/override/border-only.cg ps3/pkg/USRDIR/shaders/Borders/Menu/
$(MAKE_FSELF_NPDRM) $(PPU_TARGET) ps3/pkg/USRDIR/EBOOT.BIN
$(MAKE_PACKAGE_NPDRM) ps3/pkg/package.conf ps3/pkg

@ -1 +0,0 @@
Subproject commit 8603f0e02d384433e79d0833d98ea284cba55c73