Skip to content

Commit 6ca2645

Browse files
author
Pascal
committed
Initial commit
0 parents  commit 6ca2645

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
###What is this
2+
This provides a container you can build your Homebrew apps against the open source toolchain "OpenOrbis" (https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain)
3+
4+
5+
###Build
6+
7+
>docker build -t ps4sdk-docker .
8+
9+
###Run
10+
11+
1) Put ps4sdk-docker.sh into $PATH (optional)
12+
2) Call ps4sdk-docker.sh from your folder you want to build
13+
3) You will be in your folder (its mounted into the container) and you can call the `make` script.
14+
15+
###Save the image
16+
>docker save ps4sdk-docker | bzip2 > ps4sdk-docker.tar.bz2
17+
18+
###Load the image
19+
>docker load < bzip2 -dc ps4sdk-docker.tar.bz2
20+
21+
22+
###Note
23+
Be careful with dynamic paths, such as this https://github.com/OpenOrbis/OpenOrbis-PS4-Toolchain/blob/c466432d3bc4b8724135687e38ae81e6130d03b3/samples/hello_world/hello_world/main.cpp#L5
24+
25+
Because this path won't be resolved because its probably not mounted.
26+
If you have dynamic paths, you probably want to mount them aswell.
27+
28+
The `ps4sdk-docker.sh` script only mounts the current folder. Anything `outside` is excluded. (Anything within, like subdirectories, is included)

0 commit comments

Comments
 (0)