Commit Graph

19 Commits

Author SHA1 Message Date
Peter Barker 4ba769d4a3 mk: native boards get -Wundef 2016-02-19 12:34:24 -02:00
Lucas De Marchi 517a7f0f35 mk: add missing warnings from AP_Common.h
Copy the missing warnings from AP_Common.h and reorder the warnings to
be more clear on intent. This will later let us remove the warnings from
the header.
2016-02-12 20:41:29 +11:00
Julien BERAUD f449107563 AP_HAL_Linux: Add Perf Lttng
Support for perf api using lttng.
Some additional build tricks needed for bebop because lttng uses dl_open
which is not compatible with a static link on a different libc as used
on the bebop
2016-01-14 19:13:35 -02:00
Lucas De Marchi 3a24531ade mk: fix dynamic linking option for board native
-pthread is the one supposed to be used because it defines pre-defined
macros as -lpthread doesn't
2016-01-14 18:59:04 -02:00
Andrew Tridgell 2fc60de500 build: added qflight build target 2015-12-27 16:12:27 +11:00
Julien BERAUD d7ff90326b mk: Fix build with removed header files
-MP "instructs CPP to add a phony target for each dependency other than the
main file, causing each to depend on nothing. These dummy rules work around
errors make gives if you remove header files without updating the Makefile to
match."
2015-11-27 16:25:08 +09:00
Caio Marcelo de Oliveira Filho 7c631d860f mk: fix list of warnings for board_native
When setting WARNFLAGCXX, the entry was missing a backslash character
and other entries were missing. It was also a duplicate, so removed it.
2015-10-10 14:34:52 +09:00
Andrew Tridgell 698312a32c build: added more warnings and errors to SITL build
more closely match PX4 build
2015-07-06 09:21:39 +10:00
Andrew Tridgell 2d2cc6c574 build: fixed flymaple build 2015-06-01 13:02:18 +10:00
Andrew Tridgell 65d0ecdef7 build: fixed dependency on frame type and options
this ensures "make sitl-heli" rebuilds after a "make sitl"

Thanks to Michael Oborne for reporting this
2015-06-01 10:09:43 +10:00
Lucas De Marchi c423fb5f46 build: switch to c++11 2015-05-26 13:46:48 +10:00
Andrew Tridgell 2b2259a6d7 SITL: use more granrular sleeps for windows 2015-05-25 17:05:44 +10:00
Andrew Tridgell 3fbd0a1db0 build: removed the need for 'make configure'
and make default build display help
2015-05-21 10:54:19 +10:00
Andrew Tridgell 5241c66b57 build: added SKETCHBOOK to defines for native build
used by SITL to find JSBSim aircraft
2015-05-10 21:01:30 +10:00
Andrew Tridgell 0eaf70cd85 build: added optimisation in native build 2015-05-05 09:45:54 +10:00
Andrew Tridgell 75a517824b build: put elf file in current directory
makes it more obvious where the build ends up
2014-11-13 17:27:53 +11:00
Andrew Tridgell fdeac40135 build: added board subtypes to build 2014-07-14 09:44:35 +10:00
Andrew Tridgell e2a3a4e45c build: allow native build to use distcc 2014-07-14 09:44:34 +10:00
Andrew Tridgell a224d8c3f9 build: rename board_avr_sitl.mk to board_native.mk 2014-07-14 09:44:34 +10:00