nixpkgs/pkgs/os-specific/linux/kernel
David Guibert 1e77d0b975 kernel 4.14 require libelf to compile modules.
[...]
make modules -C /nix/store/h1vzl6bq4wif3m8dd1bw2p3fv4shjg3n-linux-4.14.9-dev/lib/modules/4.14.9/build EXTRA_CFLAGS=-Werror-implicit-function-declaration M=/tmp/nix-build-spl-kernel-2017-11-16-4.14.9.drv-0/source/build
/nix/store/h1vzl6bq4wif3m8dd1bw2p3fv4shjg3n-linux-4.14.9-dev/lib/modules/4.14.9/source/Makefile:939: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel". Stop.

This patch introduces kernel.moduleBuildDependencies to avoid the logic "stdenv.lib.optional (stdenv.lib.versionAtLeast kernel.version "4.14") libelf" in multiple places.

[dezgeg did some minor tweaks on top]
2017-12-29 23:08:17 +02:00
..
cpu-cgroup-v2-patches Revert parts of "linux: remove unused kernel patches" 2017-10-30 17:57:00 +01:00
bridge-stp-helper.patch
common-config.nix kernel config: Enable MEDIA_CONTROLLER 2017-11-21 16:33:31 +02:00
generate-config.pl linux: add kernelPreferBuiltin platform option 2017-04-09 22:46:07 +03:00
generic.nix linux-4.13: mark as insecure (+required generic changes) 2017-12-04 09:33:39 +01:00
genksyms-fix-segfault.patch
hardened-config.nix linux_hardened: structleak covers structs passed by address 2017-11-15 22:10:50 +01:00
linux-4.4.nix linux: 4.4.107 -> 4.4.108 2017-12-27 21:31:14 -05:00
linux-4.9.nix linux: 4.9.71 -> 4.9.72 (security) 2017-12-26 16:42:34 +01:00
linux-4.13.nix linux-4.13: mark as insecure (+required generic changes) 2017-12-04 09:33:39 +01:00
linux-4.14.nix linux: 4.14.8 -> 4.14.9 2017-12-26 15:24:49 +01:00
linux-beagleboard.nix linux-beagleboard: 4.9.59-r73 -> 4.9.61-r76 2017-11-18 17:33:40 -05:00
linux-hardened-copperhead.nix linux-copperhead: 4.14.8.b -> 4.14.9.a 2017-12-27 21:40:39 -05:00
linux-mptcp.nix linux_mptcp: makes linux_mptcp.override works 2017-11-13 11:19:26 +01:00
linux-rpi.nix linux_rpi: 1.20170811 -> 1.20171029 2017-11-06 20:49:48 +02:00
linux-samus-4.12.nix linuxPackages: properly propagate features and extraConfig 2017-09-17 16:33:47 +02:00
linux-testing-bcachefs.nix linuxPackages: properly propagate features and extraConfig 2017-09-17 16:33:47 +02:00
linux-testing.nix linux-testing: 4.15-rc3 -> 4.15-rc4 2017-12-18 05:54:47 +01:00
manual-config.nix kernel 4.14 require libelf to compile modules. 2017-12-29 23:08:17 +02:00
mips-ext3-n32.patch
mips-fpu-sigill.patch
mips-fpureg-emulation.patch
modinst-arg-list-too-long.patch linux-testing: Fix arg list too long in modinst 2016-08-30 06:55:52 +02:00
p9-fixes.patch kernel: fix 9p issues 2017-04-01 15:49:14 +03:00
patches.nix linux_4_14: fix iwlwifi fw reset 2017-11-15 11:30:24 +00:00
perf.nix treewide: Use targetPrefix instead of prefix for platform name prefixes 2017-11-27 03:15:50 -05:00
tag-hardened.patch linux: Expand hardened config 2017-08-06 09:58:02 -04:00
update.sh