Cleanup of module building.

This commit is contained in:
James Goppert
2015-09-09 23:00:58 -04:00
parent a529153062
commit bf18c84652
36 changed files with 151 additions and 291 deletions
+3 -2
View File
@@ -33,10 +33,11 @@
set(depends
msg_gen
prebuild_targets
git_mavlink
)
if(${OS} STREQUAL "posix")
list(APPEND depends git_eigen git_mavlink)
if(${OS} STREQUAL "posix" OR ${BOARD} STREQUAL "sim")
list(APPEND depends git_eigen)
endif()
px4_add_module(