Add a config for older x86 processors without PAE support. Turn off PAT for a good measure, too
svn path=/nixpkgs/trunk/; revision=16382
This commit is contained in:
parent
666f904649
commit
0865385a29
File diff suppressed because it is too large
Load Diff
|
@ -1,4 +1,4 @@
|
|||
args @ {stdenv, fetchurl, userModeLinux ? false, ...}:
|
||||
args @ {stdenv, fetchurl, userModeLinux ? false, oldI686 ? false, ...}:
|
||||
|
||||
assert !userModeLinux;
|
||||
|
||||
|
@ -21,7 +21,8 @@ import ./generic.nix (
|
|||
};
|
||||
|
||||
config =
|
||||
if stdenv.system == "i686-linux" then ./config-2.6.31-rc3-all-mod-i686 else
|
||||
if stdenv.system == "i686-linux" then if oldI686 then ./config-2.6.31-rc3-all-mod-i686-older else
|
||||
./config-2.6.31-rc3-all-mod-i686 else
|
||||
if stdenv.system == "x86_64-linux" then ./config-2.6.31-rc3-all-mod-amd64 else
|
||||
abort "No kernel configuration for your platform!";
|
||||
}
|
||||
|
|
|
@ -5045,6 +5045,11 @@ let
|
|||
];
|
||||
};
|
||||
|
||||
# For older x86 processors without PAE/PAT
|
||||
kernel_2_6_31_rc3_old_i686 = kernelPackages_2_6_31_rc3.override {
|
||||
oldI686 = true;
|
||||
};
|
||||
|
||||
/* Kernel modules are inherently tied to a specific kernel. So
|
||||
rather than provide specific instances of those packages for a
|
||||
specific kernel, we have a function that builds those packages
|
||||
|
@ -5151,6 +5156,7 @@ let
|
|||
kernelPackages_2_6_28 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_28);
|
||||
kernelPackages_2_6_29 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_29);
|
||||
kernelPackages_2_6_31_rc3 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc3);
|
||||
kernelPackages_2_6_31_rc3_old_i686 = recurseIntoAttrs (kernelPackagesFor kernel_2_6_31_rc3_old_i686);
|
||||
|
||||
# The current default kernel / kernel modules.
|
||||
kernelPackages = kernelPackages_2_6_28;
|
||||
|
|
|
@ -503,6 +503,11 @@ in {
|
|||
kernel = linux;
|
||||
};
|
||||
|
||||
kernelPackages_2_6_31_rc3_old_i686 = {
|
||||
aufs = ["i686-linux"];
|
||||
kernel = ["i686-linux"];
|
||||
};
|
||||
|
||||
strategoPackages = {
|
||||
sdf = all;
|
||||
strategoxt = all;
|
||||
|
|
Loading…
Reference in New Issue