PSP2: Install velf

This commit is contained in:
Jeffrey Pfau 2015-08-28 20:13:25 -07:00
parent 44211c32a8
commit d1f6ce0509
1 changed files with 1 additions and 0 deletions

View File

@ -8,3 +8,4 @@ add_executable(${BINARY_NAME}.elf ${PLATFORM_SRC} ${GUI_SRC} ${CMAKE_BINARY_DIR}
target_link_libraries(${BINARY_NAME}.elf ${BINARY_NAME} ${PLATFORM_LIBRARY})
set_target_properties(${BINARY_NAME}.elf PROPERTIES OUTPUT_NAME ${BINARY_NAME}.elf)
add_custom_command(TARGET ${BINARY_NAME}.elf POST_BUILD COMMAND ${FIXUP} ${BINARY_NAME}.elf ${BINARY_NAME}.velf ${NIDDB} MAIN_DEPENDENCY ${BINARY_NAME}.elf)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BINARY_NAME}.velf DESTINATION . RENAME boot.velf COMPONENT ${BINARY_NAME}-psp2)