支持Os编译
This commit is contained in:
@@ -35,10 +35,10 @@ target_link_libraries(
|
||||
PUBLIC
|
||||
--whole-archive
|
||||
knl
|
||||
--no-whole-archive
|
||||
arch
|
||||
drv
|
||||
lib
|
||||
drv
|
||||
--no-whole-archive
|
||||
)
|
||||
add_dependencies(mkrtos.elf arch)
|
||||
add_dependencies(mkrtos.elf drv)
|
||||
@@ -76,4 +76,10 @@ add_custom_target(
|
||||
${CMAKE_SIZE} mkrtos.elf
|
||||
)
|
||||
add_dependencies(mkrtos.elf link_file_dump)
|
||||
add_dependencies(mkrtos_dump mkrtos.elf)
|
||||
add_dependencies(mkrtos_dump mkrtos.elf)
|
||||
add_dependencies(mkrtos_dump knl)
|
||||
add_dependencies(mkrtos_dump arch)
|
||||
add_dependencies(mkrtos_dump lib)
|
||||
add_dependencies(mkrtos_dump drv)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user