Skip to content

Commit

Permalink
greenhills: fix the arch_interface archive error
Browse files Browse the repository at this point in the history
: && 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 apache#16) cannot find file cr

Signed-off-by: guoshichao <[email protected]>
  • Loading branch information
extinguish committed Sep 27, 2024
1 parent 4195851 commit 5675eea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 5675eea

Please sign in to comment.