From d545e96b592a90255ba8dfd12198fe69b1b5b122 Mon Sep 17 00:00:00 2001 From: Ville Juven Date: Wed, 29 May 2024 12:36:12 +0300 Subject: [PATCH] NuttX libraries: Add Assembly sources to dependency list Assembly files are now handled correctly as dependencies (for e.g. libarch) --- platforms/nuttx/NuttX/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/platforms/nuttx/NuttX/CMakeLists.txt b/platforms/nuttx/NuttX/CMakeLists.txt index 0c3102df172b..b7d460a08c31 100644 --- a/platforms/nuttx/NuttX/CMakeLists.txt +++ b/platforms/nuttx/NuttX/CMakeLists.txt @@ -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