forked from GiantPluto/ps4debug
-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.sh
78 lines (63 loc) · 1.02 KB
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/bash
# I decide to just clean it all then build from scratch each go around lol
# golden :P
clean_build() {
cd ps4-ksdk
make clean
cd ..
cd ps4-payload-sdk/libPS4/
make clean
cd ../../
cd debugger
make clean
cd ..
cd kdebugger
make clean
cd ..
cd installer
make clean
cd ..
}
build_submodules() {
cd ps4-ksdk
make
cd ..
cd ps4-payload-sdk/libPS4/
make
cd ../../
}
build_debugger() {
cd debugger
make
cd ..
}
build_kdebugger() {
cd kdebugger
make
cd ..
}
build_installer() {
cd installer
make
cd ..
}
if (( $# == 1 ));
then
if [ $1 == "clean" ]
then
echo "cleaning build..."
clean_build
fi
fi
echo "ps4debug building..."
echo "=> submodules..."
build_submodules
echo "=> debugger..."
build_debugger
echo "=> kdebugger..."
build_kdebugger
echo "=> installer..."
build_installer
cp ./installer/installer.bin ./ps4debug.bin
echo ""
echo "enjoy ps4debug! golden :P"