-
Notifications
You must be signed in to change notification settings - Fork 42
/
Makefile
411 lines (387 loc) · 20.9 KB
/
Makefile
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
# Number of Compilation Threads
OPT=-j$(shell nproc)
PYTHON = $(shell which python3)
ARKROOT ?= $(CURDIR)
export DEBUG ARKROOT
SUBDIRS = libs \
contrib/PC/prxencrypter \
core/systemctrl \
core/inferno \
core/stargate \
core/popcorn \
core/vshctrl \
core/compat/psp/rebootex \
core/compat/psp/btcnf \
core/compat/psp \
core/compat/vita/rebootex \
core/compat/vita/btcnf \
core/compat/vita \
core/compat/vitapops/rebootex \
core/compat/vitapops/btcnf \
core/compat/vitapops \
core/compat/pentazemin/rebootex \
core/compat/pentazemin/btcnf \
core/compat/pentazemin \
extras/modules/iop \
extras/modules/ipl_update \
extras/modules/kpspident \
extras/modules/peops \
extras/modules/xmbctrl \
extras/modules/usbdevice \
extras/modules/idsregeneration \
extras/modules/kbooti_update \
loader/live/user/linkless_payload \
loader/live/user/signed_eboot \
loader/live/user/psxloader \
loader/live/kernel/kernel_loader \
loader/live/kernel/psxloader \
loader/live/kernel/chain_loader \
loader/live/kernel/kram_dumper \
loader/live/kernel/idstorage_dumper \
loader/live/kernel/psp_flash_dumper \
loader/live/kernel/vita_flash_dumper \
loader/live/kernel/pandorizer \
loader/rebootex/ms_payloadex \
loader/rebootex/nand_payloadex \
loader/perma/cipl/classic/mainbinex \
loader/perma/cipl/classic/combine \
loader/dc/dcman \
loader/dc/msipl/newipl/stage2 \
loader/dc/msipl/mainbinex \
loader/dc/tmctrl/rebootex \
loader/dc/tmctrl \
loader/dc/vunbricker \
extras/menus/arkMenu \
extras/menus/recovery \
extras/menus/xMenu \
extras/menus/vshmenu \
extras/apps/installer \
extras/apps/uninstaller \
extras/150kernel/rebootex150 \
extras/150kernel/reboot150 \
extras/150kernel/systemctrl150 \
extras/150kernel/tmctrl150 \
extras/150kernel/installer
.PHONY: subdirs $(SUBDIRS) cleanobj clean cleanobj copy-bin mkdir-dist encrypt-prx copy-dcark pack-flash0
all: subdirs cipl msipl kxploits finalspeed mkdir-dist encrypt-prx copy-dcark pack-flash0 copy-bin
@echo "Build Done"
# Common installation
copy-bin:
$(Q)cp -r contrib/PSP/SAVEDATA/ARK_01234/ dist/ # ARK Savedata installation
$(Q)cp -r contrib/PSP/GAME/ARK_DC/ dist/PSP/ # ARK DC installer
$(Q)cp loader/dc/installer/EBOOT.PBP dist/PSP/ARK_DC/ # ARK DC installer
$(Q)cp loader/vpk/bin/psp/EBOOT.PBP dist/PSVita/PSPCFW/NPUZ01234/
$(Q)cp loader/vpk/bin/psp/PBOOT.PBP dist/PSVita/PSPCFW/NPUZ01234/
$(Q)cp loader/vpk/bin/psp/arkrightanalog.suprx dist/PSVita/PSPCFW/
$(Q)cp loader/perma/cipl/installer/EBOOT.PBP dist/PSP/ARK_cIPL/EBOOT.PBP
$(Q)cp loader/perma/infinity/EBOOT.PBP dist/PSP/Infinity/ # Infinity with ARK support
$(Q)cp loader/perma/infinity/EBOOT_GO.PBP dist/PSP/Infinity/ # Infinity with ARK support (PSP Go)
$(Q)cp loader/live/user/linkless_payload/H.BIN dist/ARK_01234/H.BIN # game exploit loader
$(Q)cp loader/live/user/signed_eboot/EBOOT.PBP dist/ARK_Loader/EBOOT.PBP # Signed EBOOT
$(Q)cp loader/live/user/psxloader/EBOOT.PBP dist/PSVita/PS1CFW/SCPS10084/
$(Q)cp loader/live/kernel/chain_loader/ARK.BIN dist/ARK_01234/ARK.BIN # ARK-2 chainloader
$(Q)cp loader/live/kernel/kernel_loader/ARK4.BIN dist/ARK_01234/ARK4.BIN # ARK-4 loader
$(Q)cp loader/live/kernel/psxloader/ARKX.BIN dist/ARK_01234/ARKX.BIN # ARK-X loader
$(Q)cp loader/live/kernel/psxloader/ps1cfw_enabler/ps1cfw_enabler.suprx dist/PSVita/PS1CFW/
$(Q)cp loader/live/kernel/kxploit/sceUID/K.BIN dist/ARK_01234/K.BIN # Kernel exploit for PSP 6.6X and Vita 3.60+
$(Q)cp loader/live/kernel/kxploit/sceSdGetLastIndex/K.BIN dist/ARK_Loader/K.BIN # Alternative Kernel exploit for PSP 6.6X
$(Q)cp loader/live/FinalSpeed/EBOOT.PBP dist/PSP/FinalSpeed/
$(Q)cp extras/modules/kpspident/kpspident.prx dist/PSP/ARK_cIPL/kpspident.prx
$(Q)cp extras/modules/ipl_update/ipl_update.prx dist/PSP/ARK_cIPL/ipl_update.prx
$(Q)cp extras/modules/kbooti_update/kbooti_update.prx dist/PSP/ARK_cIPL/kbooti_update.prx
$(Q)cp extras/modules/xmbctrl/xmbctrl.prx dist/ARK_01234/XMBCTRL.PRX # XMB Control Module
$(Q)cp extras/modules/idsregeneration/idsregeneration.prx dist/ARK_01234/IDSREG.PRX # idsregeneration
$(Q)cp extras/modules/usbdevice/usbdevice.prx dist/ARK_01234/USBDEV.PRX # USB Device Driver
$(Q)cp extras/modules/peops/peops.prx dist/ARK_01234/PS1SPU.PRX
$(Q)cp extras/menus/recovery/ark_recovery.prx dist/ARK_01234/RECOVERY.PRX # Default recovery menu
$(Q)cp extras/menus/arkMenu/EBOOT.PBP dist/ARK_01234/VBOOT.PBP # Default launcher
$(Q)cp extras/menus/arkMenu/LANG.ARK dist/ARK_01234/LANG.ARK # Translations
$(Q)cp extras/menus/xMenu/EBOOT.PBP dist/ARK_01234/XBOOT.PBP # PS1 launcher
$(Q)cp extras/menus/arkMenu/themes/ARK_Revamped/THEME.ARK dist/ARK_01234/THEME.ARK # Launcher resources
$(Q)cp extras/menus/vshmenu/satelite.prx dist/ARK_01234/VSHMENU.PRX # New Default & Advanced VSH Menu
$(Q)cp extras/apps/installer/EBOOT.PBP dist/PSP/ARK_Full_Installer # Full installer
$(Q)cp contrib/PSP/fatms371mod/*.prx dist/PSP/ARK_Full_Installer/kd/ # Full installer
$(Q)cp extras/apps/uninstaller/EBOOT.PBP dist/PSP/ARK_Uninstaller # ARK-4 Uninstaller
$(Q)cp extras/150kernel/installer/EBOOT.PBP dist/PSP/ARK_150Addon # ARK-4 150 Kernel Addon
$(Q)cp contrib/PSP/GAME/ARK_DC/libpsardumper.prx dist/PSP/ARK_150Addon
$(Q)cp contrib/PSP/GAME/ARK_DC/pspdecrypt.prx dist/PSP/ARK_150Addon
$(Q)cp contrib/UPDATER.TXT dist/ARK_01234/
$(Q)cp contrib/SETTINGS.TXT dist/ARK_01234/
$(Q)cp contrib/PSP/mediasync.prx dist/ARK_01234/MEDIASYN.PRX
$(Q)cp contrib/PSP/popsman.prx dist/ARK_01234/POPSMAN.PRX
$(Q)cp contrib/PSP/pops_01g.prx dist/ARK_01234/POPS.PRX
$(Q)cp core/compat/psp/btcnf/pstbtcnf_tt.bin dist/PSP/Pops4Tool/TT/pstbtcnf.bin
$(Q)cp core/compat/psp/btcnf/pstbtcnf_dt.bin dist/PSP/Pops4Tool/DT/pstbtcnf.bin
$(Q)cp contrib/PSP/pops_01g.prx dist/PSP/Pops4Tool/kd/
$(Q)cp contrib/PSP/popsman.prx dist/PSP/Pops4Tool/kd/
$(Q)cp contrib/PSP/libpspvmc.prx dist/PSP/Pops4Tool/vsh/module/
$(Q)cp -r extras/menus/arkMenu/themes dist/
$(Q)rm -rf dist/themes/translations
$(Q)cp contrib/README.TXT dist/
$(Q)mv dist/FLASH0.ARK dist/ARK_01234/ # flash0 package
$(Q)cp -r dist/ARK_01234 dist/PSP/ARK_DC/
$(Q)cp -r dist/ARK_01234 dist/PC/MagicMemoryCreator/TM/DCARK/
$(Q)find dist/themes/ -type d -name 'resources' -exec rm -rf {} \; 2>/dev/null || true
$(q)mkdir -p loader/vpk/bin/save/ARK_01234
$(Q)cp -r dist/ARK_01234 loader/vpk/bin/save/
$(Q)cp loader/live/kernel/psxloader/ps1cfw_enabler/ps1cfw_enabler.suprx loader/vpk/bin/psx/
$(Q)cd loader/vpk/bin/ && zip -r ../../../dist/PSVita/FasterARK.vpk * && cd $(ARKROOT)
$(Q)$(MAKE) -C extras/apps/updater/
$(Q)cp extras/apps/updater/EBOOT_PSP.PBP dist/UPDATE/EBOOT.PBP
$(Q)cp loader/dc/msipl/newipl/msipl_*.bin dist/PC/MagicMemoryCreator/TM/DCARK/
$(Q)cp loader/dc/btcnf/pspbtcnf*_dc.bin dist/PC/MagicMemoryCreator/TM/DCARK/kd/
$(Q)cp contrib/PSP/IPL/tm_mloader.bin dist/PC/MagicMemoryCreator/TM/DCARK/
$(Q)cp loader/dc/msipl/newipl/stage1/ipl.bin dist/PC/MagicMemoryCreator/msipl.bin
$(Q)cp loader/dc/tmctrl/tmctrl.prx dist/PC/MagicMemoryCreator/TM/DCARK/
$(Q)cp loader/dc/dcman/dcman.prx dist/PC/MagicMemoryCreator/TM/DCARK/kd/
$(Q)cp extras/modules/iop/iop.prx dist/PC/MagicMemoryCreator/TM/DCARK/kd/
$(Q)cp contrib/PSP/GAME/ARK_DC/lflash_fdisk.prx dist/PC/MagicMemoryCreator/TM/DCARK/kd/
$(Q)cp loader/dc/vunbricker/resurrection.prx dist/PC/MagicMemoryCreator/TM/DCARK/vsh/module/
$(Q)cp extras/modules/ipl_update/ipl_update.prx dist/PC/MagicMemoryCreator/TM/DCARK/kd/
$(Q)cp loader/dc/msipl/newipl/stage2/msipl.bin dist/PC/MagicMemoryCreator/TM/DCARK/msipl.raw
$(Q)cp contrib/PSP/IPL/nandipl_01G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_01g.bin
$(Q)cp contrib/PSP/IPL/nandipl_02G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_02g.bin
$(Q)cp contrib/PSP/IPL/nandipl_03G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_03g.bin
$(Q)cp contrib/PSP/IPL/nandipl_04G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_04g.bin
$(Q)cp contrib/PSP/IPL/nandipl_05G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_05g.bin
$(Q)cp contrib/PSP/IPL/nandipl_07G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_07g.bin
$(Q)cp contrib/PSP/IPL/nandipl_09G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_09g.bin
$(Q)cp contrib/PSP/IPL/nandipl_11G.bin dist/PC/MagicMemoryCreator/TM/DCARK/ipl_11g.bin
$(Q)cp loader/perma/cipl/new/ipl_01G.dec dist/PC/MagicMemoryCreator/TM/DCARK/nandipl_01g.bin
$(Q)cp loader/perma/cipl/new/ipl_02G.dec dist/PC/MagicMemoryCreator/TM/DCARK/nandipl_02g.bin
$(Q)cp loader/perma/cipl/new/cipl_01G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_01g.bin
$(Q)cp loader/perma/cipl/new/cipl_02G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_02g.bin
$(Q)cp loader/perma/cipl/new/cipl_03G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_03g.bin
$(Q)cp loader/perma/cipl/new/cipl_04G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_04g.bin
$(Q)cp loader/perma/cipl/new/cipl_05G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_05g.bin
$(Q)cp loader/perma/cipl/new/cipl_07G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_07g.bin
$(Q)cp loader/perma/cipl/new/cipl_09G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_09g.bin
$(Q)cp loader/perma/cipl/new/cipl_11G.bin dist/PC/MagicMemoryCreator/TM/DCARK/cipl_11g.bin
$(Q)cp contrib/PSP/IPL/tm_msipl_legacy.bin dist/PC/MagicMemoryCreator/
$(Q)cp libs/libpspkubridge.a dist/PC/sdk/lib/
$(Q)cp libs/libpspsystemctrl*.a dist/PC/sdk/lib/
$(Q)cp common/include/kubridge.h dist/PC/sdk/include/
$(Q)cp common/include/systemctrl.h dist/PC/sdk/include/
$(Q)cp common/include/systemctrl_se.h dist/PC/sdk/include/
$(Q)cp common/include/module2.h dist/PC/sdk/include/
$(Q)cp common/include/ark.h dist/PC/sdk/include/
$(Q)cp -r contrib/PC/ciso dist/PC/
encrypt-prx: \
dist/SYSCTRL.BIN \
dist/VSHCTRL.BIN \
dist/INFERNO.BIN \
dist/STARGATE.BIN \
dist/POPCORN.BIN \
dist/PSPCOMP.BIN \
dist/VITACOMP.BIN \
dist/VITAPOPS.BIN \
dist/VITAPLUS.BIN
copy-dcark:
$(Q)cp -r contrib/PC/MagicMemoryCreator dist/PC/
$(Q)cp dist/SYSCTRL.BIN dist/PC/MagicMemoryCreator/TM/DCARK/kd/ark_systemctrl.prx
$(Q)cp dist/VSHCTRL.BIN dist/PC/MagicMemoryCreator/TM/DCARK/kd/ark_vshctrl.prx
$(Q)cp dist/INFERNO.BIN dist/PC/MagicMemoryCreator/TM/DCARK/kd/ark_inferno.prx
$(Q)cp dist/STARGATE.BIN dist/PC/MagicMemoryCreator/TM/DCARK/kd/ark_stargate.prx
$(Q)cp dist/POPCORN.BIN dist/PC/MagicMemoryCreator/TM/DCARK/kd/ark_popcorn.prx
$(Q)cp dist/PSPCOMP.BIN dist/PC/MagicMemoryCreator/TM/DCARK/kd/ark_pspcompat.prx
pack-flash0:
$(Q)cp core/compat/vita/btcnf/psvbtinf.bin dist/PSVBTINF.BIN
$(Q)cp core/compat/vita/btcnf/psvbtcnf.bin dist/PSVBTCNF.BIN
$(Q)cp core/compat/vitapops/btcnf/psvbtxnf.bin dist/PSVBTXNF.BIN
$(Q)cp core/compat/pentazemin/btcnf/psvbtjnf.bin dist/PSVBTJNF.BIN
$(Q)cp core/compat/pentazemin/btcnf/psvbtknf.bin dist/PSVBTKNF.BIN
$(Q)$(PYTHON) contrib/PC/pack/pack.py -p dist/FLASH0.ARK contrib/PC/pack/packlist.txt
cipl:
$(Q)$(MAKE) PSP_MODEL=01G -C loader/perma/cipl/new/
$(Q)$(MAKE) PSP_MODEL=02G -C loader/perma/cipl/new/
$(Q)$(MAKE) PSP_MODEL=03G -C loader/perma/cipl/new/
$(Q)$(MAKE) PSP_MODEL=04G -C loader/perma/cipl/new/
$(Q)$(MAKE) PSP_MODEL=05G -C loader/perma/cipl/new/
$(Q)$(MAKE) PSP_MODEL=07G -C loader/perma/cipl/new/
$(Q)$(MAKE) PSP_MODEL=09G -C loader/perma/cipl/new/
$(Q)$(MAKE) PSP_MODEL=11G -C loader/perma/cipl/new/
$(Q)$(MAKE) -C loader/perma/cipl/installer
msipl:
$(Q)$(MAKE) gcc -C contrib/PC/minilzo
$(Q)contrib/PC/minilzo/testmini loader/dc/msipl/newipl/stage2/msipl.bin loader/dc/msipl/newipl/stage2/msipl.lzo
$(Q)bin2c loader/dc/msipl/newipl/stage2/msipl.lzo loader/dc/msipl/newipl/stage1/msipl_compressed.h msipl_compressed
$(Q)$(MAKE) -C loader/dc/msipl/newipl/stage1
$(Q)$(PYTHON) contrib/PC/ipltools/make_ipl.py loader/dc/msipl/newipl/stage1/msipl.bin loader/dc/msipl/newipl/stage1/ipl.bin reset_block 0x4000000
$(Q)bin2c loader/dc/msipl/newipl/stage1/ipl.bin loader/dc/msipl/newipl/stage2/new_msipl.h new_msipl
$(Q)bin2c loader/dc/msipl/newipl/stage2/msipl.bin loader/dc/msipl/newipl/stage2/msipl_raw.h msipl_raw
$(Q)$(MAKE) PSP_MODEL=01G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_01G.bin loader/dc/msipl/newipl/msipl_01g.bin
$(Q)$(MAKE) PSP_MODEL=02G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_02G.bin loader/dc/msipl/newipl/msipl_02g.bin
$(Q)$(MAKE) PSP_MODEL=03G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_03G.bin loader/dc/msipl/newipl/msipl_03g.bin
$(Q)$(MAKE) PSP_MODEL=04G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_04G.bin loader/dc/msipl/newipl/msipl_04g.bin
$(Q)$(MAKE) PSP_MODEL=05G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_05G.bin loader/dc/msipl/newipl/msipl_05g.bin
$(Q)$(MAKE) PSP_MODEL=07G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_07G.bin loader/dc/msipl/newipl/msipl_07g.bin
$(Q)$(MAKE) PSP_MODEL=09G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_09G.bin loader/dc/msipl/newipl/msipl_09g.bin
$(Q)$(MAKE) PSP_MODEL=11G -C loader/dc/msipl/newipl/stage3/
$(Q)mv loader/dc/msipl/newipl/stage3/ipl_11G.bin loader/dc/msipl/newipl/msipl_11g.bin
$(Q)$(MAKE) -C loader/dc/installer
kxploits:
$(Q)$(MAKE) $@ K=sceUID -C loader/live/kernel/kxploit
$(Q)$(MAKE) $@ K=sceSdGetLastIndex -C loader/live/kernel/kxploit
finalspeed:
$(Q)bin2c loader/live/FinalSpeed/Launcher660/NPIA00013/EBOOT.PBP loader/live/FinalSpeed/660launcher.h _660launcher
$(Q)bin2c loader/live/FinalSpeed/Launcher660/NPEG00012/EBOOT.PBP loader/live/FinalSpeed/660launcherDC.h _660launcherDC
$(Q)bin2c loader/live/kernel/kxploit/sceSdGetLastIndex/K.BIN loader/live/FinalSpeed/kbin.h _kbin
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/DigitalComics/GO/topmenu_icon.rco loader/live/FinalSpeed/660_dc_go_icon.h _660_dc_go_icon
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/DigitalComics/GO/topmenu_plugin.rco loader/live/FinalSpeed/660_dc_go_plugin.h _660_dc_go_plugin
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/DigitalComics/X000/topmenu_icon.rco loader/live/FinalSpeed/660_dc_X_icon.h _660_dc_X_icon
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/DigitalComics/X000/topmenu_plugin.rco loader/live/FinalSpeed/660_dc_X_plugin.h _660_dc_X_plugin
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/Original/GO/topmenu_icon.rco loader/live/FinalSpeed/660_orig_go_icon.h _660_orig_go_icon
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/Original/GO/topmenu_plugin.rco loader/live/FinalSpeed/660_orig_go_plugin.h _660_orig_go_plugin
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/Original/X000/topmenu_icon.rco loader/live/FinalSpeed/660_orig_X_icon.h _660_orig_X_icon
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/Original/X000/topmenu_plugin.rco loader/live/FinalSpeed/660_orig_X_plugin.h _660_orig_X_plugin
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/SensMe/GO/topmenu_icon.rco loader/live/FinalSpeed/660_sm_go_icon.h _660_sm_go_icon
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/SensMe/GO/topmenu_plugin.rco loader/live/FinalSpeed/660_sm_go_plugin.h _660_sm_go_plugin
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/SensMe/X000/topmenu_icon.rco loader/live/FinalSpeed/660_sm_X_icon.h _660_sm_X_icon
$(Q)bin2c loader/live/FinalSpeed/RCOFiles660/SensMe/X000/topmenu_plugin.rco loader/live/FinalSpeed/660_sm_X_plugin.h _660_sm_X_plugin
$(Q)make -C loader/live/FinalSpeed
# Only clean non-library code
cleanobj:
$(Q)$(MAKE) clean CLEANOBJ=1
clean:
$(Q)$(MAKE) $@ -C libs
$(Q)$(MAKE) $@ -C contrib/PC/minilzo
$(Q)$(MAKE) $@ -C core/compat/psp/rebootex
$(Q)$(MAKE) $@ -C core/compat/vita/rebootex
$(Q)$(MAKE) $@ -C core/compat/vitapops/rebootex
$(Q)$(MAKE) $@ -C core/compat/pentazemin/rebootex
$(Q)$(MAKE) $@ -C core/compat/psp/btcnf
$(Q)$(MAKE) $@ -C core/compat/vita/btcnf
$(Q)$(MAKE) $@ -C core/compat/vitapops/btcnf
$(Q)$(MAKE) $@ -C core/compat/pentazemin/btcnf
$(Q)$(MAKE) $@ -C core/systemctrl
$(Q)$(MAKE) $@ -C core/vshctrl
$(Q)$(MAKE) $@ -C core/stargate
$(Q)$(MAKE) $@ -C core/popcorn
$(Q)$(MAKE) $@ -C core/inferno
$(Q)$(MAKE) $@ -C core/compat/psp/rebootex
$(Q)$(MAKE) $@ -C core/compat/vita/btcnf/
$(Q)$(MAKE) $@ -C core/compat/vita/rebootex
$(Q)$(MAKE) $@ -C core/compat/vitapops/btcnf/
$(Q)$(MAKE) $@ -C core/compat/vitapops/rebootex
$(Q)$(MAKE) $@ -C core/compat/pentazemin/btcnf/
$(Q)$(MAKE) $@ -C core/compat/pentazemin/rebootex
$(Q)$(MAKE) $@ -C core/compat/psp
$(Q)$(MAKE) $@ -C core/compat/vita
$(Q)$(MAKE) $@ -C core/compat/vitapops
$(Q)$(MAKE) $@ -C core/compat/pentazemin
$(Q)$(MAKE) $@ -C extras/menus/recovery
$(Q)$(MAKE) $@ -C extras/menus/arkMenu
$(Q)$(MAKE) $@ -C extras/menus/vshmenu
$(Q)$(MAKE) $@ -C extras/menus/xMenu
$(Q)$(MAKE) $@ -C extras/modules/iop
$(Q)$(MAKE) $@ -C extras/modules/peops
$(Q)$(MAKE) $@ -C extras/modules/xmbctrl
$(Q)$(MAKE) $@ -C extras/modules/usbdevice
$(Q)$(MAKE) $@ -C extras/modules/ipl_update
$(Q)$(MAKE) $@ -C extras/modules/kbooti_update
$(Q)$(MAKE) $@ -C extras/modules/kpspident
$(Q)$(MAKE) $@ -C extras/modules/idsregeneration
$(Q)$(MAKE) $@ -C extras/apps/updater/
$(Q)$(MAKE) $@ -C extras/apps/installer/
$(Q)$(MAKE) $@ -C extras/apps/uninstaller
$(Q)$(MAKE) $@ -C extras/150kernel/reboot150
$(Q)$(MAKE) $@ -C extras/150kernel/rebootex150
$(Q)$(MAKE) $@ -C extras/150kernel/systemctrl150
$(Q)$(MAKE) $@ -C extras/150kernel/tmctrl150
$(Q)$(MAKE) $@ -C extras/150kernel/installer
$(Q)$(MAKE) $@ -C loader/live/FinalSpeed
$(Q)$(MAKE) $@ -C loader/live/user/linkless_payload
$(Q)$(MAKE) $@ -C loader/live/user/signed_eboot
$(Q)$(MAKE) $@ -C loader/live/user/psxloader
$(Q)$(MAKE) $@ -C loader/live/kernel/kernel_loader
$(Q)$(MAKE) $@ -C loader/live/kernel/psxloader
$(Q)$(MAKE) $@ -C loader/live/kernel/chain_loader
$(Q)$(MAKE) $@ -C loader/live/kernel/kram_dumper
$(Q)$(MAKE) $@ -C loader/live/kernel/idstorage_dumper
$(Q)$(MAKE) $@ -C loader/live/kernel/psp_flash_dumper
$(Q)$(MAKE) $@ -C loader/live/kernel/vita_flash_dumper
$(Q)$(MAKE) $@ -C loader/live/kernel/pandorizer
$(Q)$(MAKE) $@ -C loader/rebootex/ms_payloadex
$(Q)$(MAKE) $@ -C loader/rebootex/nand_payloadex
$(Q)$(MAKE) $@ -C loader/perma/cipl/classic/mainbinex
$(Q)$(MAKE) $@ -C loader/perma/cipl/classic/combine
$(Q)$(MAKE) $@ -C loader/perma/cipl/new/
$(Q)$(MAKE) $@ -C loader/perma/cipl/installer
$(Q)$(MAKE) $@ -C loader/dc/dcman
$(Q)$(MAKE) $@ -C loader/dc/installer
$(Q)$(MAKE) $@ -C loader/dc/msipl/newipl/stage1
$(Q)$(MAKE) $@ -C loader/dc/msipl/newipl/stage2
$(Q)$(MAKE) $@ -C loader/dc/msipl/newipl/stage3
$(Q)$(MAKE) $@ -C loader/dc/msipl/mainbinex
$(Q)$(MAKE) $@ -C loader/dc/tmctrl/rebootex
$(Q)$(MAKE) $@ -C loader/dc/tmctrl
$(Q)$(MAKE) $@ -C loader/dc/vunbricker
$(Q)$(MAKE) $@ -C loader/perma/cipl/new/ipl_stage1_payload
$(Q)$(MAKE) $@ -C loader/perma/cipl/new/ipl_stage2_payload
$(Q)$(MAKE) $@ K=sceUID -C loader/live/kernel/kxploit
$(Q)$(MAKE) $@ K=sceSdGetLastIndex -C loader/live/kernel/kxploit
$(Q)$(PYTHON) contrib/PC/scripts/cleandeps.py
$(Q)find -name 'THEME.ARK' -exec rm {} \;
$(Q)rm -f extras/apps/updater/ARK_01234.PKG | true
$(Q)rm -f extras/apps/updater/EBOOT_PSP.PBP | true
$(Q)rm -f extras/apps/updater/EBOOT_GO.PBP | true
$(Q)rm -f extras/menus/arkMenu/LANG.ARK
$(Q)rm -rf loader/vpk/bin/save/ARK_01234
$(Q)rm -f loader/vpk/bin/psx/ps1cfw_enabler.suprx
$(Q)rm -f loader/dc/tmctrl/tmctrl.h
$(Q)rm -f loader/dc/btcnf/*.bin
$(Q)rm -f loader/dc/msipl/newipl/*.bin
$(Q)rm -f loader/dc/msipl/newipl/stage1/*.h
$(Q)rm -f loader/dc/msipl/newipl/stage2/*.lzo
$(Q)rm -f loader/live/FinalSpeed/*.h
$(Q)-rm -rf dist *~ | true
subdirs: $(SUBDIRS)
$(filter-out libs, $(SUBDIRS)): libs
$(Q)$(MAKE) $(OPT) -C $@
libs:
$(Q)$(MAKE) $(OPT) -C $@
arkmenu: libs
$(Q)$(MAKE) $@ -C extras/menus/arkMenu
vshmenu: libs
$(Q)$(MAKE) $@ -C extras/menus/vshmenu
xmenu: libs
$(Q)$(MAKE) $@ -C extras/menus/xMenu
recovery: libs
$(Q)$(MAKE) $@ -C extras/menus/recovery
mkdir-dist:
$(Q)mkdir dist | true
$(Q)mkdir dist/PC | true
$(Q)mkdir dist/PSP | true
$(Q)mkdir dist/PSVita | true
$(Q)mkdir dist/UPDATE | true
$(Q)mkdir dist/ARK_Loader | true
$(Q)mkdir dist/PC/sdk | true
$(Q)mkdir dist/PC/sdk/lib | true
$(Q)mkdir dist/PC/sdk/include | true
$(Q)mkdir dist/PSP/Infinity | true
$(Q)mkdir dist/PSP/ARK_Uninstaller | true
$(Q)mkdir dist/PSP/ARK_DC | true
$(Q)mkdir dist/PSP/ARK_150Addon | true
$(Q)mkdir dist/PSP/ARK_cIPL | true
$(Q)mkdir -p dist/PSP/ARK_Full_Installer/kd | true
$(Q)mkdir dist/PSP/FinalSpeed | true
$(Q)mkdir dist/PSP/Pops4Tool | true
$(Q)mkdir dist/PSP/Pops4Tool/TT | true
$(Q)mkdir dist/PSP/Pops4Tool/DT | true
$(Q)mkdir dist/PSP/Pops4Tool/kd | true
$(Q)mkdir dist/PSP/Pops4Tool/vsh | true
$(Q)mkdir dist/PSP/Pops4Tool/vsh/module | true
$(Q)mkdir dist/PSVita/PSPCFW | true
$(Q)mkdir dist/PSVita/PSPCFW/NPUZ01234 | true
$(Q)mkdir dist/PSVita/PS1CFW | true
$(Q)mkdir dist/PSVita/PS1CFW/SCPS10084 | true
-include $(ARKROOT)/.config
include $(ARKROOT)/common/make/quiet.mak
include $(ARKROOT)/common/make/mod_enc.mak