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 -1
View File
@@ -66,7 +66,7 @@
#include <nuttx/i2c/i2c_master.h>
#include <nuttx/mtd/mtd.h>
#include "systemlib/perf_counter.h"
#include <perf/perf_counter.h>
/************************************************************************************
* Pre-processor Definitions
+1 -2
View File
@@ -38,6 +38,5 @@ px4_add_module(
mtd.c
24xxxx_mtd.c
DEPENDS
platforms__common
)
# vim: set noet ft=cmake fenc=utf-8 ff=unix :
+1 -1
View File
@@ -63,7 +63,7 @@
#include "systemlib/px4_macros.h"
#include "systemlib/systemlib.h"
#include "systemlib/param/param.h"
#include <parameters/param.h>
#include <board_config.h>