mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Fix for tracking nuttx config changes.
This commit is contained in:
committed by
Lorenz Meier
parent
f58c4c1c1c
commit
501f3cf2df
@@ -231,6 +231,7 @@ function(px4_nuttx_add_export)
|
||||
DEPENDS nuttx_copy_${CONFIG}.stamp __nuttx_patch_${CONFIG})
|
||||
|
||||
# export
|
||||
file(GLOB_RECURSE config_files ${CMAKE_SOURCE_DIR}/nuttx-configs/${CONFIG}/*)
|
||||
add_custom_command(OUTPUT ${CONFIG}.export
|
||||
COMMAND ${ECHO} Configuring NuttX for ${CONFIG}
|
||||
COMMAND ${MAKE} -C${nuttx_src}/nuttx -j${THREADS}
|
||||
@@ -244,7 +245,7 @@ function(px4_nuttx_add_export)
|
||||
-r CONFIG_ARCH_BOARD=${CONFIG} export
|
||||
COMMAND ${CP} -r ${nuttx_src}/nuttx/nuttx-export.zip
|
||||
${CONFIG}.export
|
||||
DEPENDS ${DEPENDS} __nuttx_copy_${CONFIG})
|
||||
DEPENDS ${config_files} ${DEPENDS} __nuttx_copy_${CONFIG})
|
||||
|
||||
# extract
|
||||
add_custom_command(OUTPUT nuttx_export_${CONFIG}.stamp
|
||||
|
||||
Reference in New Issue
Block a user