ardupilot/mk
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
..
PX4 mk: removed more drivers from rc.APM 2016-11-09 17:07:59 +11:00
VRBRAIN mk: removed PX4 airspeed drivers 2016-11-09 17:07:59 +11:00
apm.mk mk: remove support for flymaple 2016-05-23 21:49:45 -03:00
board_linux.mk mk: fix dynamic linking option for board linux 2016-01-14 18:59:04 -02:00
board_native.mk mk: define missing headers for px4/qurt/sitl 2016-07-08 19:49:32 -03:00
board_px4.mk build: added support for the new PX4 build system 2013-05-10 06:16:54 +10:00
board_qflight.mk mk: add STDC format macros 2016-07-13 14:18:28 +10:00
board_qurt.mk mk: add STDC format macros 2016-07-13 14:18:28 +10:00
board_vrbrain.mk mk: new make files for VRBRAIN 2014-04-08 16:19:19 +10:00
build_rules.mk mk: fixed dependency on mavlink header generation 2016-01-15 07:44:15 +11:00
check_modules.sh build: added pymavlink submodule auto update 2016-09-16 09:04:30 +10:00
configure.mk build: removed the need for 'make configure' 2015-05-21 10:54:19 +10:00
environ.mk build: don't build examples with old build system 2016-10-11 13:03:08 +11:00
find_tools.mk mk: remove support for flymaple 2016-05-23 21:49:45 -03:00
help.mk mk: remove support for flymaple 2016-05-23 21:49:45 -03:00
make.inc build: added AP_ICEngine to build 2016-07-25 10:06:03 +10:00
mavgen.mk mk: stop ignoring exit status of mavlink header generation 2016-11-16 00:08:49 +00:00
modules.mk mk: removed the attempt at highlight in warning 2016-05-31 08:26:08 +10:00
px4_targets.mk build: disable O_CLOEXEC for PX4 and VRBRAIN 2016-11-07 12:37:30 -03:00
sketch_sources.mk mk: added a global make.inc 2016-07-14 13:39:48 +10:00
targets.mk VRBRAIN / targets: defined all VirtualRobotix targets 2016-08-07 20:31:52 +10:00
upload_firmware.mk mk: add 'upload' target to copy fresh ELF to Linux board using SCP 2015-09-09 10:05:45 +10:00
vrbrain_targets.mk build: disable O_CLOEXEC for PX4 and VRBRAIN 2016-11-07 12:37:30 -03:00