Make parameter generation also depend on the scripts that run. Address some review comments.

This commit is contained in:
Stephan Brown
2017-01-05 12:02:39 -08:00
committed by Beat Küng
parent 92b2395ff6
commit 67a484ac34
4 changed files with 5 additions and 10 deletions

View File

@@ -1024,7 +1024,8 @@ function(px4_generate_parameters_xml)
add_custom_command(OUTPUT ${OUT}
COMMAND ${PYTHON_EXECUTABLE} ${PX4_SOURCE_DIR}/Tools/px_process_params.py
-s ${path} --board CONFIG_ARCH_${BOARD} --xml --inject-xml --scope ${SCOPE}
DEPENDS ${param_src_files}
DEPENDS ${param_src_files} ${PX4_SOURCE_DIR}/Tools/px_process_params.py
${PX4_SOURCE_DIR}/Tools/px_generate_params.py
)
set(${OUT} ${${OUT}} PARENT_SCOPE)
endfunction()