kumquat-buildroot/toolchain
Carlos Santos 31a1dec1f5 toolchain: generate check-headers program under $(BUILD_DIR)
Some installations mount /tmp with the 'noexec' option, which prevents
running the program generated there to check the kernel headers.

Avoid the problem by generating the program under $(BUILD_DIR), passed
as the first argument to check-kernel-headers.sh.

We could globally export a TMPDIR environment variable with some path
under $(BUILD_DIR) but such solution would be too intrusive, depriving
the user from the freedom to set TMPDIR at his will (or needs).

Fixes: https://bugs.busybox.net/show_bug.cgi?id=12241

Signed-off-by: Carlos Santos <unixmania@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 6136765b23)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-09-30 18:02:07 +02:00
..
toolchain toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00
toolchain-buildroot toolchain/toolchain-buildroot: enable glibc for all little-endian ARCs with atomic ops 2018-11-09 22:02:16 +01:00
toolchain-external toolchain: generate check-headers program under $(BUILD_DIR) 2019-09-30 18:02:07 +02:00
Config.in toolchain: gcc bug 85180 is fixed in gcc >= 8.x 2019-06-06 14:23:08 +02:00
helpers.mk toolchain: generate check-headers program under $(BUILD_DIR) 2019-09-30 18:02:07 +02:00
toolchain-wrapper.c toolchain/toolchain-wrapper: add BR2_SSP_* support 2018-10-20 12:51:21 +02:00
toolchain-wrapper.mk toolchain/toolchain-wrapper: add BR2_SSP_* support 2018-10-20 12:51:21 +02:00
toolchain.mk toolchain: move glibc nsswitch.conf handling to a post-target hook 2018-10-21 01:50:35 +02:00