summaryrefslogtreecommitdiffstats
path: root/package/python-bitstring/python-bitstring.mk
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-01-28 11:41:32 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-03-31 09:09:46 +0200
commite29fa95b8368f9b85a1bfb2cef9741c6218c59b3 (patch)
tree2081ba208db9e1a220b663b879df699aff58e22b /package/python-bitstring/python-bitstring.mk
parent74ed2a833da74b33e0ad8c4fd77e789885b3a9fd (diff)
downloadbuildroot-e29fa95b8368f9b85a1bfb2cef9741c6218c59b3.tar.gz
buildroot-e29fa95b8368f9b85a1bfb2cef9741c6218c59b3.zip
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> (cherry picked from commit c5fa9308ea4e3810a7f7d9d0df75cbf090c414c4) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-bitstring/python-bitstring.mk')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud