2009-01-15 10:54:24 -05:00
|
|
|
args @ {stdenv, fetchurl, userModeLinux ? false, ...}:
|
2008-04-22 08:01:53 -04:00
|
|
|
|
2009-01-15 10:54:24 -05:00
|
|
|
import ./generic.nix (
|
2008-04-22 08:01:53 -04:00
|
|
|
|
2009-01-15 10:54:24 -05:00
|
|
|
rec {
|
|
|
|
version = "2.6.25.17";
|
2008-04-22 08:01:53 -04:00
|
|
|
|
2009-01-15 10:54:24 -05:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kernel/linux/kernel/v2.6/linux-${version}.tar.bz2";
|
|
|
|
sha256 = "15jx163rryvvdy65wgfpws8l5cqrczfygsz6v5280i5glhy1dh77";
|
|
|
|
};
|
|
|
|
|
|
|
|
features = {
|
|
|
|
iwlwifi = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
config =
|
|
|
|
if userModeLinux then ./config-2.6.25-uml else
|
|
|
|
if stdenv.system == "i686-linux" then ./config-2.6.25-i686-smp else
|
|
|
|
if stdenv.system == "x86_64-linux" then ./config-2.6.25-x86_64-smp else
|
|
|
|
abort "No kernel configuration for your platform!";
|
|
|
|
}
|
|
|
|
|
|
|
|
// args
|
|
|
|
)
|