diff options
author | Dominique Martinet <dominique.martinet@atmark-techno.com> | 2022-07-11 10:14:06 +0900 |
---|---|---|
committer | Dominique Martinet <dominique.martinet@atmark-techno.com> | 2022-07-11 10:32:23 +0900 |
commit | 4b4576faf9452e394309219b38d9dc6c13c429ff (patch) | |
tree | e7447c54c5f36a968ba5e2b7a7d28ce32d2c5ab1 /pkgs/os-specific/linux/kernel/common-config.nix | |
parent | 0dc7730340d405dbaa4b82c276df4862db9255b0 (diff) | |
download | nixpkgs-4b4576faf9452e394309219b38d9dc6c13c429ff.tar nixpkgs-4b4576faf9452e394309219b38d9dc6c13c429ff.tar.gz nixpkgs-4b4576faf9452e394309219b38d9dc6c13c429ff.tar.bz2 nixpkgs-4b4576faf9452e394309219b38d9dc6c13c429ff.tar.lz nixpkgs-4b4576faf9452e394309219b38d9dc6c13c429ff.tar.xz nixpkgs-4b4576faf9452e394309219b38d9dc6c13c429ff.tar.zst nixpkgs-4b4576faf9452e394309219b38d9dc6c13c429ff.zip |
Revert "linux-kernel: disable BTF on 32-bit platforms on kernels 5.15+"
This reverts commit 79e05fb16b1af292e50cc0c479809cc66b47b087. broken 32bit BTF builds got fixed in #175467 by switching libbpf from libelf to elfutils, as a side-product of the upgrade, so we don't need this anymore.
Diffstat (limited to 'pkgs/os-specific/linux/kernel/common-config.nix')
-rw-r--r-- | pkgs/os-specific/linux/kernel/common-config.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 59f89296dcd..1962b5ba5aa 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -44,8 +44,7 @@ let # Reduced debug info conflict with BTF and have been enabled in # aarch64 defconfig since 5.13 DEBUG_INFO_REDUCED = whenAtLeast "5.13" (option no); - # Disabled on 32-bit platforms, fails to build on 5.15+ with `Failed to parse base BTF 'vmlinux': -22` - DEBUG_INFO_BTF = whenAtLeast "5.2" (option (if stdenv.hostPlatform.is32bit && (versionAtLeast version "5.15") then no else yes)); + DEBUG_INFO_BTF = whenAtLeast "5.2" (option yes); BPF_LSM = whenAtLeast "5.7" (option yes); DEBUG_KERNEL = yes; DEBUG_DEVRES = no; |