mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-15 15:47:35 +08:00
Link cdev with nuttx_fs on nuttx flat build
Signed-off-by: Jukka Laitinen <jukkax@ssrc.tii.ae>
This commit is contained in:
@@ -54,3 +54,7 @@ target_compile_options(cdev PRIVATE ${MAX_CUSTOM_OPT_LEVEL} -D__KERNEL__)
|
||||
if(PX4_TESTING)
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
if(CONFIG_BUILD_FLAT) # Only defined for NuttX
|
||||
target_link_libraries(cdev PRIVATE nuttx_fs)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user