kumquat-buildroot/support/scripts
Yann E. MORIN c5fa9308ea core/br2-external: properly report unexpected errors
Unextected error in the br2-external script are properly caught, but
they are not reported properly, and we end up in either of two
situations:

  - the .br2-external.mk file is not generated, in which case make will
    try to find a rule to generate it (because the 'include' directive
    tries to generate missing files);

  - the .br-external.mk file is generated but does not contain the error
    variable, and thus the build might not get interrupted.

We fix that by using a trap on the pseudo ERR signal, to emit the error
variable on unexpected errors.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-03-26 23:44:04 +02:00
..
apply-patches.sh support/apply-patches: re-instate set -e 2016-07-06 14:47:30 +02:00
br2-external core/br2-external: properly report unexpected errors 2017-03-26 23:44:04 +02:00
brpkgutil.py graph-depends: rename pkgutil.py to brpkgutil.py 2017-03-21 23:11:04 +01:00
check-bin-arch support/scripts/check-bin-arch: fix after "fix for filenames with spaces" 2017-03-22 21:43:54 +01:00
check-host-rpath support/scripts/check-host-rpath: also check HOST_DIR/{bin, sbin} 2016-04-21 22:17:36 +02:00
check-kernel-headers.sh
eclipse-register-toolchain
expunge-gconv-modules
fix-configure-powerpc64.sh pkg-autotools: generic configure fix for powerpc64 2016-12-05 22:51:17 +01:00
get-developers get-developers: fix parentheses for print 2016-11-05 11:49:05 +01:00
getdeveloperlib.py scripts/get-developers: correct type of patches argument 2016-10-25 12:43:27 +02:00
graph-build-time support/scripts: fix graph-build-time help text 2016-05-24 23:26:25 +02:00
graph-depends graph-depends: rename pkgutil.py to brpkgutil.py 2017-03-21 23:11:04 +01:00
hardlink-or-copy support/scripts: add helper to hardlink-or-copy 2016-05-11 23:14:37 +02:00
mkmakefile
mkusers support/mkusers: rename variable to avoid name clashing 2017-03-04 11:56:51 +01:00
pkg-stats linux: add ev3dev extension 2016-11-02 17:52:24 +01:00
pycompile.py pycompile: allow to force compilation 2017-03-20 23:00:25 +01:00
scancpan perl: bump to version 5.24.0 2017-01-04 17:06:27 +01:00
scanpypi scanpypi: include LICENCE in the list of supported license files 2016-07-07 11:48:52 +02:00
setlocalversion
size-stats size-stats: don't count hard links 2017-02-06 19:38:53 +01:00
size-stats-compare
test-pkg support/scripts/test-pkg: extend logfile with olddefconfig output 2017-03-09 21:34:33 +01:00
xorg-release