kernel-headers: mark broken for grsecurity kernels

Extracting headers from a grsecurity patched kernel triggers additional
build steps that require gcc plugins.  For this to work, we'd need to
add gmp, libmpfr, and libmpc to the build inputs as well as run `make
prepare` before installing the headers (lest the build fail due to
missing files).

Out-of-tree modules use kernel.dev and user space should use the Linux
API headers used to build libc, not headers extracted from random
kernels, so fixing this for grsecurity is pointless.
This commit is contained in:
Joachim Fasting 2016-04-18 17:08:53 +02:00
parent b42bff4630
commit 893186f4fd
No known key found for this signature in database
GPG Key ID: 4330820E1E04DCF4

View File

@ -1,5 +1,7 @@
{ stdenv, kernel, perl }: { stdenv, kernel, perl }:
assert (!(kernel.features.grsecurity or false));
let let
baseBuildFlags = [ "INSTALL_HDR_PATH=$(out)" "headers_install" ]; baseBuildFlags = [ "INSTALL_HDR_PATH=$(out)" "headers_install" ];
in stdenv.mkDerivation { in stdenv.mkDerivation {