kumquat-buildroot/toolchain
Thomas Petazzoni 68a0ec3758 toolchain/helpers: make sure we bail out when kernel headers check fails
In commit 6136765b23 ("toolchain:
generate check-headers program under $(BUILD_DIR)"), the
check_kernel_headers_version function was simplified to not check the
return value of the check-kernel-headers.sh script, assuming that
"make" does bail out on the first failing command.

However, check_kernel_headers_version when used in $(2)_CONFIGURE_CMDS
from pkg-toolchain-external.mk, is called in a sequence of commands,
where the return value of each command is not checked. Therefore, a
failure of check-kernel-headers.sh no longer aborts the build.

Since all other macros are using this principle of calling "exit 1",
we revert back to the same for check_kernel_headers_version, as it was
done prior to 6136765b23.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Cc: Carlos Santos <unixmania@gmail.com>
Reviewed-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2019-11-13 22:39:53 +01:00
..
toolchain toolchain/toolchain: set TOOLCHAIN_INSTALL_STAGING only once 2019-10-27 14:56:52 +01:00
toolchain-buildroot toolchain-buildroot: musl only supports 64bit variant of risc-v 2019-07-30 18:39:31 +02:00
toolchain-external toolchain/toolchain-external: add a check for D language support 2019-11-04 23:04:24 +01:00
Config.in toolchain: expose BR2_TOOLCHAIN_EXTRA_EXTERNAL_LIBS for all toolchain types 2019-10-28 23:09:33 +01:00
helpers.mk toolchain/helpers: make sure we bail out when kernel headers check fails 2019-11-13 22:39:53 +01:00
toolchain-wrapper.c toolchain/wrapper: also dump args it was called with 2019-08-18 00:19:57 +02:00
toolchain-wrapper.mk toolchain/toolchain-wrapper: explicitly pass --build-id=none if BR2_REPRODUCIBLE 2019-10-26 16:56:23 +02:00
toolchain.mk toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00