mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-16 01:47:01 +02:00
fix eboot
This commit is contained in:
parent
ee20d94220
commit
e46fbc0e00
1 changed files with 13 additions and 0 deletions
|
|
@ -1,6 +1,19 @@
|
||||||
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
# SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
function(create_ps4_eboot project target content_id)
|
||||||
|
set(sce_sys_dir sce_sys)
|
||||||
|
set(sce_sys_param ${sce_sys_dir}/param.sfo)
|
||||||
|
add_custom_command(
|
||||||
|
OUTPUT "${target}.pkg"
|
||||||
|
COMMAND ${CMAKE_SYSROOT}/bin/create-fself -in=bin/${target} -out=${target}.oelf --eboot eboot.bin
|
||||||
|
VERBATIM
|
||||||
|
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
|
||||||
|
DEPENDS ${project}
|
||||||
|
)
|
||||||
|
add_custom_target(${project}_pkg ALL DEPENDS "${target}.pkg")
|
||||||
|
endfunction()
|
||||||
|
|
||||||
function(create_ps4_pkg project target content_id)
|
function(create_ps4_pkg project target content_id)
|
||||||
set(sce_sys_dir sce_sys)
|
set(sce_sys_dir sce_sys)
|
||||||
set(sce_sys_param ${sce_sys_dir}/param.sfo)
|
set(sce_sys_param ${sce_sys_dir}/param.sfo)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue