尝试修复其他芯片的编译
This commit is contained in:
@@ -2,9 +2,11 @@ cmake_minimum_required(VERSION 3.13)
|
||||
|
||||
|
||||
file(GLOB_RECURSE deps *.c *.S)
|
||||
if (${CONFIG_ELF_LAUNCH} STREQUAL "y")
|
||||
list(REMOVE_ITEM deps ${CMAKE_SOURCE_DIR}/mkrtos_user/lib/sys_util/src/u_app_loader.c)
|
||||
list(APPEND deps ${CMAKE_SOURCE_DIR}/mkrtos_user/lib/sys_util/src/u_elf_loader.c)
|
||||
if (DEFINED CONFIG_ELF_LAUNCH)
|
||||
if (CONFIG_ELF_LAUNCH STREQUAL "y")
|
||||
list(REMOVE_ITEM deps ${CMAKE_SOURCE_DIR}/mkrtos_user/lib/sys_util/src/u_app_loader.c)
|
||||
list(APPEND deps ${CMAKE_SOURCE_DIR}/mkrtos_user/lib/sys_util/src/u_elf_loader.c)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
add_library(
|
||||
|
||||
Reference in New Issue
Block a user