Peter Barker
794c960c7e
mk: avoid trigraph warnings by adding -Wno-trigraphs
7 years ago
Eugene Shamaev
b121145c33
mk: compilation settings to include CAN bus drivers and UAVCAN protocol
8 years ago
Lucas De Marchi
a014d0c790
mk: define missing headers for px4/qurt/sitl
9 years ago
Lucas De Marchi
1923d9029e
mk: use SYSTYPE for Darwin and append to LIBS
9 years ago
Siddharth Bharat Purohit
98c97a689f
MK: remove unused and undefined librt as build flag for macosx
9 years ago
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.
9 years ago
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.
9 years ago
Ricardo de Almeida Gonzaga
a0ca38a03f
make: hardcode missing/cmath defines
...
In order to retain the current behavior
9 years ago
Francisco Ferreira
d1910a9e5e
mk: don't error on unknown pragmas
9 years ago
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
9 years ago
Peter Barker
4ba769d4a3
mk: native boards get -Wundef
9 years ago
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.
9 years ago
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
9 years ago
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
9 years ago
Andrew Tridgell
2fc60de500
build: added qflight build target
9 years ago
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."
9 years ago
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.
9 years ago
Andrew Tridgell
698312a32c
build: added more warnings and errors to SITL build
...
more closely match PX4 build
10 years ago
Andrew Tridgell
2d2cc6c574
build: fixed flymaple build
10 years ago
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
10 years ago
Lucas De Marchi
c423fb5f46
build: switch to c++11
10 years ago
Andrew Tridgell
2b2259a6d7
SITL: use more granrular sleeps for windows
10 years ago
Andrew Tridgell
3fbd0a1db0
build: removed the need for 'make configure'
...
and make default build display help
10 years ago
Andrew Tridgell
5241c66b57
build: added SKETCHBOOK to defines for native build
...
used by SITL to find JSBSim aircraft
10 years ago
Andrew Tridgell
0eaf70cd85
build: added optimisation in native build
10 years ago
Andrew Tridgell
75a517824b
build: put elf file in current directory
...
makes it more obvious where the build ends up
10 years ago
Andrew Tridgell
fdeac40135
build: added board subtypes to build
11 years ago
Andrew Tridgell
e2a3a4e45c
build: allow native build to use distcc
11 years ago
Andrew Tridgell
a224d8c3f9
build: rename board_avr_sitl.mk to board_native.mk
11 years ago
Andrew Tridgell
603e84a688
SITL: disable missing initializer warnings
...
not specifying all initializers is normal
11 years ago
Andrew Tridgell
3dc0404e2b
SITL: prevent unused parameter warnings
11 years ago
Andrew Tridgell
f31183f22d
build: added APM_BUILD_DIRECTORY define to build
...
this makes it possible to have different default parameter values for
different vehicle types in libraries, as long as you use the makefile
based build
11 years ago
Andrew Tridgell
561618b2b2
build: added -lrt for Linux build
11 years ago
Andrew Tridgell
d73c49bebc
build: override opt flags for Linux build
12 years ago
Andrew Tridgell
71d0b294c5
build: added -lpthread and SKETCHNAME in build
12 years ago
John Boiles
bb2a6b8a22
HAL_SITL: Fixing SITL build for OSX.
12 years ago
Andrew Tridgell
73250efc01
build: added support for the new PX4 build system
12 years ago
Andrew Tridgell
7ad8670df7
SITL: show the build target
...
makes it easier to find the elf
12 years ago
Andrew Tridgell
eb3c9ab79e
build: fixed SITL build flags
12 years ago
Andrew Tridgell
ded192be3f
build: split up the build system to allow for better board support
...
this will make it easier to support boards like the VRBrain
12 years ago