31a1dec1f5
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
|
||
---|---|---|
.. | ||
toolchain-external-arm-aarch64 | ||
toolchain-external-arm-aarch64-be | ||
toolchain-external-arm-arm | ||
toolchain-external-codescape-img-mips | ||
toolchain-external-codescape-mti-mips | ||
toolchain-external-codesourcery-aarch64 | ||
toolchain-external-codesourcery-amd64 | ||
toolchain-external-codesourcery-arm | ||
toolchain-external-codesourcery-mips | ||
toolchain-external-codesourcery-niosII | ||
toolchain-external-custom | ||
toolchain-external-linaro-aarch64 | ||
toolchain-external-linaro-aarch64-be | ||
toolchain-external-linaro-arm | ||
toolchain-external-linaro-armeb | ||
toolchain-external-synopsys-arc | ||
Config.in | ||
pkg-toolchain-external.mk | ||
toolchain-external.mk |