mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-17 03:21: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)
|
if(PX4_TESTING)
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_BUILD_FLAT) # Only defined for NuttX
|
||||||
|
target_link_libraries(cdev PRIVATE nuttx_fs)
|
||||||
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user