mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
linux-kernel: Add new upstream version 3.16.
Also set linux_latest to it as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
8f3d2b740b
commit
4834717507
18
pkgs/os-specific/linux/kernel/linux-3.16.nix
Normal file
18
pkgs/os-specific/linux/kernel/linux-3.16.nix
Normal file
@ -0,0 +1,18 @@
|
||||
{ stdenv, fetchurl, ... } @ args:
|
||||
|
||||
import ./generic.nix (args // rec {
|
||||
version = "3.16";
|
||||
modDirVersion = "3.16.0";
|
||||
extraMeta.branch = "3.16";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://kernel/linux/kernel/v3.x/linux-${version}.tar.xz";
|
||||
sha256 = "183p3pz2rfprbp5i4kwk90kjn90v40banwx8759jxnd74xwss4s8";
|
||||
};
|
||||
|
||||
features.iwlwifi = true;
|
||||
features.efiBootStub = true;
|
||||
features.needsCifsUtils = true;
|
||||
features.canDisableNetfilterConntrackHelpers = true;
|
||||
features.netfilterRPFilter = true;
|
||||
} // (args.argsOverride or {}))
|
@ -7373,6 +7373,15 @@ let
|
||||
];
|
||||
};
|
||||
|
||||
linux_3_16 = makeOverridable (import ../os-specific/linux/kernel/linux-3.16.nix) {
|
||||
inherit fetchurl stdenv perl buildLinux;
|
||||
kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
|
||||
[ kernelPatches.mips_fpureg_emu
|
||||
kernelPatches.mips_fpu_sigill
|
||||
kernelPatches.mips_ext3_n32
|
||||
];
|
||||
};
|
||||
|
||||
linux_testing = makeOverridable (import ../os-specific/linux/kernel/linux-testing.nix) {
|
||||
inherit fetchurl stdenv perl buildLinux;
|
||||
kernelPatches = lib.optionals ((platform.kernelArch or null) == "mips")
|
||||
@ -7508,8 +7517,8 @@ let
|
||||
linuxPackages = linuxPackages_3_12;
|
||||
|
||||
# Update this when adding the newest kernel major version!
|
||||
linux_latest = pkgs.linux_3_15;
|
||||
linuxPackages_latest = pkgs.linuxPackages_3_15;
|
||||
linux_latest = pkgs.linux_3_16;
|
||||
linuxPackages_latest = pkgs.linuxPackages_3_16;
|
||||
|
||||
# Build the kernel modules for the some of the kernels.
|
||||
linuxPackages_3_2 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_2 linuxPackages_3_2);
|
||||
@ -7521,6 +7530,7 @@ let
|
||||
linuxPackages_3_12 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_12 linuxPackages_3_12);
|
||||
linuxPackages_3_14 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_14 linuxPackages_3_14);
|
||||
linuxPackages_3_15 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_15 linuxPackages_3_15);
|
||||
linuxPackages_3_16 = recurseIntoAttrs (linuxPackagesFor pkgs.linux_3_16 linuxPackages_3_16);
|
||||
linuxPackages_testing = recurseIntoAttrs (linuxPackagesFor pkgs.linux_testing linuxPackages_testing);
|
||||
|
||||
# grsecurity flavors
|
||||
|
Loading…
Reference in New Issue
Block a user