cmake remove circular linking and reorganize

- px4_add_module now requires MAIN
 - px4_add_library doesn't automatically link
This commit is contained in:
Daniel Agar
2018-04-29 21:48:54 -04:00
parent a8bc3d187f
commit ea3acb7121
576 changed files with 1406 additions and 2014 deletions
-1
View File
@@ -42,7 +42,6 @@ px4_add_module(
px4io_serial_f4.cpp
px4io_serial_f7.cpp
DEPENDS
platforms__common
)
# include the px4io binary in ROMFS
+2 -2
View File
@@ -68,10 +68,10 @@
#include <drivers/drv_mixer.h>
#include <lib/mixer/mixer.h>
#include <systemlib/perf_counter.h>
#include <perf/perf_counter.h>
#include <systemlib/err.h>
#include <systemlib/systemlib.h>
#include <systemlib/param/param.h>
#include <parameters/param.h>
#include <systemlib/circuit_breaker.h>
#include <systemlib/mavlink_log.h>
+1 -1
View File
@@ -40,7 +40,7 @@
*/
#include <px4_config.h>
#include <systemlib/param/param.h>
#include <parameters/param.h>
/**
* Set usage of IO board
+1 -1
View File
@@ -54,7 +54,7 @@
#include <stdio.h>
#include <arch/board/board.h>
#include <systemlib/perf_counter.h>
#include <perf/perf_counter.h>
#include <board_config.h>