kumquat-buildroot/support
Carlos Santos 9e546440d3 support/scripts/check-kernel-headers.sh: use a trap to remove the temporary file
The POSIX specification defines a 'trap <action> EXIT' mechanism that is
useful to perform clean-up actions in shell scripts. A trap has two main
advantages over hand-crafted clean-up mechanisms:

- It runs even if the process is terminated by a SIGTERM.
- It runs even if the script stops due to a pipeline failure (set -e).

Now we can make the script to stop immediately if a compilation error
occurs, instead of letting it try to run an unexisting program.

This change may appear to be overkill but Buildroot is an open source
project and each piece of code is a potential learning tool for other
developments. We must strive to provide good examples.

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Acked-by: Yann E. MORIN <yann.morin@orange.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-09-25 22:07:29 +02:00
..
config-fragments support/config-fragments: fix br-riscv{32,64} toolchain fragments 2019-09-23 21:56:24 +02:00
dependencies support/dependencies/dependencies.sh: check for JSON:PP Perl module 2019-09-17 22:36:42 +02:00
docker support/docker: use the distro-provided flake8 2018-06-17 20:54:02 +02:00
download support/download/git: fix formatting of error message 2019-06-20 18:14:49 +02:00
gnuconfig support/gnuconfig: update to 2019-05-28 2019-05-31 22:59:52 +02:00
kconfig support/kconfig/merge_config.sh: avoid false positive matches from comment lines 2018-11-24 10:11:15 +01:00
legal-info legal-info: add hash for our own license file 2017-07-05 16:31:40 +02:00
libtool support/libtool: add patch for newer versions 2014-12-21 13:21:56 +01:00
misc Update for 2019.08 2019-09-01 23:06:01 +02:00
scripts support/scripts/check-kernel-headers.sh: use a trap to remove the temporary file 2019-09-25 22:07:29 +02:00
testing binaries-marvell: bump version and switch to common firmware 2019-09-21 18:31:26 +02:00