Commit Graph

438 Commits

Author SHA1 Message Date
Andrew Tridgell 979c3a6270 mk: support px4-v3 with make
I really wish we didn't still need this!
2016-12-19 08:07:13 +11:00
Andrew Tridgell cd506834b7 mk: added AP_FlashStorage to makefile build
still needed by travis :-(
2016-12-02 09:49:39 +11:00
Andrew Tridgell 4ef4016e5e mk: removed PX4 irlock driver 2016-11-28 08:39:07 +11:00
Andrew Tridgell ca75f1fc12 mk: remove px4flow from build 2016-11-28 08:26:57 +11:00
Peter Barker e94c23e0a1 mk: stop ignoring exit status of mavlink header generation
Accept a 0 exit status, or a status >127 (indicating a signal
caused the process to exit) as success.

The original intent of ignoring the exit status was that
the python executable was segfaulting after successfully
building headers.

Recently builds have been failing because people have not been
doing recursive submodule updates, and the mavlink header generation
has failed.  Since we are ignoring the error the build rumbles on
and fails later with a failed #include.

This patch tightens our ignoring of a bad exit status to just
signals.

Note that the waf build system does the same check.
2016-11-16 00:08:49 +00:00
Andrew Tridgell 95de899229 mk: removed more drivers from rc.APM 2016-11-09 17:07:59 +11:00
Andrew Tridgell af947dbd38 mk: removed PX4 airspeed drivers 2016-11-09 17:07:59 +11:00
Lucas De Marchi 57aec40acb build: disable O_CLOEXEC for PX4 and VRBRAIN 2016-11-07 12:37:30 -03:00
Lucas De Marchi ae53920e5b build: don't build examples with old build system
We currently check examples are buildable with waf which doesn't need
the libraries to be specified in a make.inc file.  Having the makefiles
there is misleading since people try to build and realize the build is
broken.
2016-10-11 13:03:08 +11:00
Andrew Tridgell a69c1a6f90 build: added pymavlink submodule auto update 2016-09-16 09:04:30 +10:00
Andrew Tridgell 670dd22ad9 mk: make px4-clean remove vehicle object files 2016-09-05 18:22:01 +10:00
Andrew Tridgell 4c22c59933 mk: fixed bad parameter bug on px4-v2
we have been getting builds with bad parameter values when built with
"make px4". It seems to be mixing object files from two px4 targets
2016-09-05 11:22:36 +10:00
LukeMike 451390ddec VRBRAIN: removed sensor driver startup now managed into AP_BoardConfig 2016-08-11 07:52:39 +10:00
LukeMike 9be5e37faa VRBRAIN: moved common modules into vrbrain_common.mk and disabled unnecessary modules 2016-08-11 07:52:39 +10:00
LukeMike 11fb43e0c9 mk/vrbrain_targets: removed vrubrain-v52 from vrbrain target for mass building - board configuration in progress 2016-08-11 07:52:39 +10:00
Andrew Tridgell 00f3113e83 PX4: removed driver startup from rc.APM
moved to AP_BoardConfig instead
2016-08-10 19:54:00 +10:00
LukeMike bda59b890d VRBRAIN / mk: updated all makefiles and ROMFS for all VirtualRobotix boards 2016-08-07 20:31:52 +10:00
LukeMike cab1acee46 VRBRAIN / vrbrain_targets: updated makefile for all VirtualRobotix boards 2016-08-07 20:31:52 +10:00
LukeMike f9e1235593 VRBRAIN / targets: defined all VirtualRobotix targets 2016-08-07 20:31:52 +10:00
LukeMike 810f4bd44c VRBRAIN / environ: added vrcore (VR Core 1.0) and removed vrhero (not used) 2016-08-07 20:31:51 +10:00
Andrew Tridgell db8bf48747 build: added AP_ICEngine to build 2016-07-25 10:06:03 +10:00
Gustavo Jose de Sousa 308ee5fe45 mk: px4: remove misleading warnings about "old trees"
The user might just happen to have trees at those paths with work possibly
unrelated to ArduPilot.
2016-07-22 17:07:28 +10:00
Andrew Tridgell 241b6edfcf Build: added AP_Button to build 2016-07-22 15:01:20 +10:00
Andrew Tridgell fd286498af PX4: added otp to the build 2016-07-21 18:05:00 +10:00
Andrew Tridgell fc41e0e44e PX4: updated elf of bootloaders to match
for factory load
2016-07-15 11:49:59 +10:00
Andrew Tridgell 2d3fef72cd PX4: updated bootloaders 2016-07-15 08:35:36 +10:00
Andrew Tridgell f579c3e6eb mk: added a global make.inc
saves added global libraries to every subdirectory
2016-07-14 13:39:48 +10:00
Lucas De Marchi bf8d36fbe0 mk: add STDC format macros 2016-07-13 14:18:28 +10: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
Andrew Tridgell dece35e465 mk: fixed px4-cleandep warning 2016-05-31 21:22:40 +10:00
Andrew Tridgell 9de8b63814 mk: removed the attempt at highlight in warning
it just showed up as noise on gnome-terminal and actually made things
less clear

the sleep is annoying when testing things like build_examples.sh
2016-05-31 08:26:08 +10:00
Lucas De Marchi 8bec17e05b mk: remove support for flymaple 2016-05-23 21:49:45 -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
Andrew Tridgell d477ecc24e mk: default to building with MAVLink2 support 2016-05-21 15:25:14 +10:00
Andrew Tridgell 4571b5e3ad mk: always define MAVLINK_PROTOCOL_VERSION
for -Wundef
2016-05-21 15:25:14 +10:00
Andrew Tridgell b0be3e7423 mk: fixed building with mavlink2 headers 2016-05-21 15:25:12 +10:00
Andrew Tridgell f6511e8337 build: added mavlink2 build option 2016-05-21 15:25:11 +10: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
Andrew Tridgell 8ec0e687db mk: don't make mavlink generation depend on CHECK_MODULES
this was causing a full rebuild every time, which is very annoying
when developing
2016-05-16 17:22:11 +10:00
Ricardo de Almeida Gonzaga e006754cda mk: Fix typos 2016-05-13 19:20:07 -03:00
Lucas De Marchi 3343391409 mk: deprecate build system for linux boards
All the linux boards that have their counterpart in waf are being
deprecated here. The only exception for now is sitl.
2016-05-10 10:57:49 -03:00
Lucas De Marchi a38d350502 mk: fix mavgen dependency
The rule to generate mavgen headers need to depend on the rule to check
the submodules, otherwise they can execute in parallel and the
(mavlink) submodule be updated while the headers are generated.
2016-05-10 10:57:49 -03:00
Luis Vale Gonçalves 16c9e8c105 Revising ardupilot.com to .org
Revising ardupilot.com to .org
2016-04-23 22:49:47 -07:00
Luis Vale Gonçalves ae90945836 Revising ardupilot.com to .org
Revising ardupilot.com to .org
2016-04-23 22:49:44 -07:00
Luis Vale Gonçalves 90942f019d Revising ardupilot.com to .org
Revising ardupilot.com to .org
2016-04-23 22:49:43 -07:00
Luis Vale Gonçalves 40b58606d5 Correcting ardupilot.com to newer .org
Correcting ardupilot.com to newer .org
2016-04-23 21:37:27 +01:00
Jonathan Challinger 19f80dbcb4 PX4: add startup tone file 2016-04-21 10:05:36 +10:00
Jonathan Challinger 246cf113df PX4: clean up whitespace in startup scripts 2016-04-21 10:05:35 +10:00