greenhills: fix the arch_interface archive error
: && cxarm cr arch/libarch_interface.a arch/CMakeFiles/arch_interface.dir/arm/src/common/gnu/arm_signal_handler.S.obj && echo arch/libarch_interface.a && : [elxr] (error #16) cannot find file cr Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
parent
3107822c08
commit
c7d801fd9c
|
@ -27,6 +27,8 @@ target_include_directories(arch PRIVATE ${CMAKE_SOURCE_DIR}/sched)
|
|||
|
||||
if(CONFIG_BUILD_PROTECTED)
|
||||
nuttx_add_system_library(arch_interface)
|
||||
file(TOUCH "${CMAKE_CURRENT_BINARY_DIR}/empty.c")
|
||||
target_sources(arch_interface PRIVATE "${CMAKE_CURRENT_BINARY_DIR}/empty.c")
|
||||
target_include_directories(arch_interface PRIVATE ${CMAKE_SOURCE_DIR}/sched)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue