Eugene Shamaev
b121145c33
mk: compilation settings to include CAN bus drivers and UAVCAN protocol
2017-04-10 22:38:13 +01:00
Lucas De Marchi
a014d0c790
mk: define missing headers for px4/qurt/sitl
2016-07-08 19:49:32 -03:00
Lucas De Marchi
1923d9029e
mk: use SYSTYPE for Darwin and append to LIBS
2016-07-07 11:35:17 -03:00
Siddharth Bharat Purohit
98c97a689f
MK: remove unused and undefined librt as build flag for macosx
2016-07-07 11:35:17 -03:00
Lucas De Marchi
3457dbcdf8
AP_HAL_Linux: rename lttng define
...
Like others, use HAVE_ prefix and name it HAVE_LTTNG_UST to be the same
name as exported by pkg-config While at it remove wrong comment with
_HELLO_TP_H.
2016-05-23 12:06:42 -03:00
Gustavo Jose de Sousa
89ebe34992
mk: board_native: link with librt
...
This fix compilation errors on some systems that require linking with that
library in order to use some functions.
2016-05-19 18:15:06 -03:00
Ricardo de Almeida Gonzaga
a0ca38a03f
make: hardcode missing/cmath defines
...
In order to retain the current behavior
2016-04-05 21:06:25 -07:00
Francisco Ferreira
d1910a9e5e
mk: don't error on unknown pragmas
2016-03-30 01:32:45 -03:00
Will Sackfield
1d46ca048a
Silence unknown warning options
...
* Clang doesn't implement all the warnings of GCC
so this ends up spamming the console and not being
helpful
2016-03-17 10:59:47 +11:00
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