Merge pull request #184812 from K900/pahole

linux: actually fix split BTFs
This commit is contained in:
K900 2022-08-04 10:58:37 +03:00 committed by GitHub
commit 86c336254a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,6 +6,7 @@
, gmp ? null
, libmpc ? null
, mpfr ? null
, pahole
, lib
, stdenv
@ -124,7 +125,8 @@ let
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ perl gmp libmpc mpfr ]
++ lib.optionals (lib.versionAtLeast version "4.16") [ bison flex ];
++ lib.optionals (lib.versionAtLeast version "4.16") [ bison flex ]
++ lib.optional (lib.versionAtLeast version "5.2") pahole;
platformName = stdenv.hostPlatform.linux-kernel.name;
# e.g. "defconfig"