Skip to content

Commit

Permalink
NuttX libraries: Add Assembly sources to dependency list
Browse files Browse the repository at this point in the history
Assembly files are now handled correctly as dependencies (for e.g. libarch)
  • Loading branch information
pussuw committed Jun 4, 2024
1 parent d12de87 commit fa6484d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions platforms/nuttx/NuttX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ function(add_nuttx_dir nuttx_lib nuttx_lib_dir kernel extra target)
file(GLOB_RECURSE nuttx_lib_files LIST_DIRECTORIES false
${CMAKE_CURRENT_SOURCE_DIR}/nuttx/${nuttx_lib_dir}/*.c
${CMAKE_CURRENT_SOURCE_DIR}/nuttx/${nuttx_lib_dir}/*.h
${CMAKE_CURRENT_SOURCE_DIR}/nuttx/${nuttx_lib_dir}/*.S
)

add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/nuttx/${nuttx_lib_dir}/lib${nuttx_lib}.a
Expand Down

0 comments on commit fa6484d

Please sign in to comment.