Merge branch 'master' of gitee.com:IsYourGod/mkrtos-real
This commit is contained in:
@@ -35,7 +35,7 @@ add_dependencies(
|
||||
)
|
||||
set_target_properties(
|
||||
fatfs.elf PROPERTIES LINK_FLAGS
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
|
||||
)
|
||||
add_custom_target(
|
||||
fatfs_dump ALL
|
||||
|
||||
@@ -33,7 +33,7 @@ add_dependencies(init.elf
|
||||
muslc
|
||||
)
|
||||
set_target_properties(init.elf PROPERTIES LINK_FLAGS
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
|
||||
)
|
||||
#-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds
|
||||
add_custom_target(
|
||||
|
||||
@@ -31,7 +31,7 @@ add_dependencies(path_manager.elf
|
||||
muslc
|
||||
)
|
||||
set_target_properties(path_manager.elf PROPERTIES LINK_FLAGS
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
|
||||
)
|
||||
add_custom_target(
|
||||
path_manager_dump ALL
|
||||
|
||||
@@ -38,7 +38,7 @@ add_dependencies(shell.elf
|
||||
muslc
|
||||
)
|
||||
set_target_properties(shell.elf PROPERTIES LINK_FLAGS
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie "
|
||||
"-T ${CMAKE_CURRENT_SOURCE_DIR}/link.lds -pie --gc-section "
|
||||
)
|
||||
add_custom_target(
|
||||
shell_dump ALL
|
||||
|
||||
Reference in New Issue
Block a user