Renders on PSP
This commit is contained in:
@@ -52,8 +52,9 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)
|
||||
set(_SAT_C_FLAGS "-m2 -mb -fno-builtin -fomit-frame-pointer")
|
||||
set(CMAKE_C_FLAGS_INIT "${_SAT_C_FLAGS}")
|
||||
|
||||
# Yaul provides its own startup code and linker script.
|
||||
# The kernel.ld script maps Saturn Work RAM (0x06000000+).
|
||||
set(_YAUL_LD "${YAUL_INSTALL_ROOT}/share/yaul/ip/kernel.ld")
|
||||
# Yaul installs yaul.specs to ${YAUL_INSTALL_ROOT}/sh2eb-elf/lib/ and
|
||||
# ldscripts/yaul.x to ${YAUL_INSTALL_ROOT}/sh2eb-elf/lib/ldscripts/.
|
||||
# GCC searches ${prefix}/${target}/lib/ for specs, so -specs=yaul.specs works
|
||||
# without an absolute path once the SDK is installed.
|
||||
set(CMAKE_EXE_LINKER_FLAGS_INIT
|
||||
"-T\"${_YAUL_LD}\" -Wl,--start-group -Wl,--end-group -nostartfiles")
|
||||
"-specs=yaul.specs -Wl,--gc-sections -nostartfiles -Wl,--start-group -Wl,--end-group")
|
||||
|
||||
Reference in New Issue
Block a user