mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-01-12 13:53:39 +00:00
CMake: Produce linker .map files for application, basebands.
This commit is contained in:
parent
aed58f2a3f
commit
f756ac4eac
@ -322,6 +322,7 @@ add_definitions(${DEFS})
|
||||
include_directories(. ${INCDIR})
|
||||
link_directories(${LLIBDIR})
|
||||
target_link_libraries(${PROJECT_NAME}.elf ${LIBS})
|
||||
target_link_libraries(${PROJECT_NAME}.elf -Wl,-Map=${PROJECT_NAME}.map)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${PROJECT_NAME}.bin
|
||||
|
@ -258,6 +258,7 @@ macro(DeclareTargets chunk_tag name)
|
||||
include_directories(. ${INCDIR})
|
||||
link_directories(${LLIBDIR})
|
||||
target_link_libraries(${PROJECT_NAME}.elf ${LIBS})
|
||||
target_link_libraries(${PROJECT_NAME}.elf -Wl,-Map=${PROJECT_NAME}.map)
|
||||
|
||||
add_custom_command(
|
||||
OUTPUT ${PROJECT_NAME}.bin ${PROJECT_NAME}.img
|
||||
|
Loading…
x
Reference in New Issue
Block a user