Skip to content

Commit

Permalink
fix: aarch64 objdump
Browse files Browse the repository at this point in the history
Signed-off-by: Zone.N <[email protected]>
  • Loading branch information
MRNIU committed Aug 7, 2024
1 parent eb45735 commit 527f305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/functions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function(objdump_readelf_nm _target)
POST_BUILD
DEPENDS ${_target}
WORKING_DIRECTORY ${${_target}_BINARY_DIR}
COMMAND ${CMAKE_OBJDUMP} -D $<TARGET_FILE:${_target}> > $<TARGET_FILE_DIR:${_target}>/${_target}.asm
COMMAND ${CMAKE_OBJDUMP} -D $<TARGET_FILE:${_target}> > $<TARGET_FILE_DIR:${_target}>/${_target}.asm || exit 0
COMMAND ${CMAKE_READELF} -a $<TARGET_FILE:${_target}> > $<TARGET_FILE_DIR:${_target}>/${_target}.readelf || exit 0
COMMAND ${CMAKE_NM} -a $<TARGET_FILE:${_target}> > $<TARGET_FILE_DIR:${_target}>/${_target}.sym
COMMENT "Generating symbol table, assembly, and readelf result for ${_target}"
Expand Down

0 comments on commit 527f305

Please sign in to comment.