Add ability to produce linker map file
All checks were successful
Builds / ExectOS (amd64) (push) Successful in 30s
Builds / ExectOS (i686) (push) Successful in 26s

This commit is contained in:
2024-01-02 10:49:51 +01:00
parent f00b1b620f
commit 1206069882
2 changed files with 18 additions and 8 deletions

View File

@@ -88,14 +88,6 @@ function(set_install_target TARGET DESTINATION)
install(TARGETS ${TARGET} DESTINATION ${EXECTOS_BINARY_DIR}/output/binaries/${DESTINATION})
endfunction()
# This function enables or disables binary ordinals export for specified module
function(set_ordinals MODULE STATE)
if(NOT ${ARGC} EQUAL 2)
message(FATAL_ERROR "Invalid number of arguments passed to set_ordinals() function")
endif()
set_module_property(${MODULE} ENABLE_EXPORTS ${STATE})
endfunction()
# This function is responsible for compiling module SPEC file
function(set_specfile SPECFILE)
if(NOT ${ARGC} EQUAL 1)