From 3850bb86baef6ace53ddbc04e51164bb688aa21c Mon Sep 17 00:00:00 2001 From: Florian Friesdorf Date: Thu, 13 Oct 2011 08:47:49 +0000 Subject: [PATCH] linux_2_6_39_powertop svn path=/nixpkgs/trunk/; revision=29805 --- pkgs/top-level/all-packages.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 24147b4f2ebc..ab0fc4ccb614 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -5537,6 +5537,7 @@ let linux_2_6_38_ati = linux_2_6_38.override { extraConfig="DRM_RADEON_KMS y"; }; + # Please keep in sync with linux_2_6_39_powertop, except for extraConfig linux_2_6_39 = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.39.nix) { inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser; kernelPatches = @@ -5547,6 +5548,30 @@ let ]; }; + # Please keep in sync with linux_2_6_39, except for extraConfig + linux_2_6_39_powertop = makeOverridable (import ../os-specific/linux/kernel/linux-2.6.39.nix) { + inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser; + extraConfig = '' + CPU_FREQ_GOV_ONDEMAND y + CPU_FREQ_STAT y + DEBUG_KERNEL y + HIGH_RES_TIMERS y + HPET_TIMER y + NO_HZ y + PM_ADVANCED_DEBUG y + PM_RUNTIME y + SND_AC97_POWER_SAVE y + TIMER_STATS y + USB_SUSPEND y + ''; + kernelPatches = + [ #kernelPatches.fbcondecor_2_6_38 + kernelPatches.sec_perm_2_6_24 + kernelPatches.aufs2_1_2_6_39 + #kernelPatches.mips_restart_2_6_36 + ]; + }; + linux_3_0 = makeOverridable (import ../os-specific/linux/kernel/linux-3.0.nix) { inherit fetchurl stdenv perl mktemp module_init_tools ubootChooser; kernelPatches = @@ -5713,6 +5738,7 @@ let linuxPackages_2_6_38 = recurseIntoAttrs (linuxPackagesFor linux_2_6_38 pkgs.linuxPackages_2_6_38); linuxPackages_2_6_38_ati = recurseIntoAttrs (linuxPackagesFor linux_2_6_38_ati pkgs.linuxPackages_2_6_38); linuxPackages_2_6_39 = recurseIntoAttrs (linuxPackagesFor linux_2_6_39 pkgs.linuxPackages_2_6_39); + linuxPackages_2_6_39_powertop = recurseIntoAttrs (linuxPackagesFor linux_2_6_39_powertop pkgs.linuxPackages_2_6_39_powertop); linuxPackages_3_0 = recurseIntoAttrs (linuxPackagesFor linux_3_0 pkgs.linuxPackages_3_0); linuxPackages_3_1 = recurseIntoAttrs (linuxPackagesFor linux_3_1 pkgs.linuxPackages_3_1); linuxPackages_nanonote_jz_2_6_34 = recurseIntoAttrs (linuxPackagesFor linux_nanonote_jz_2_6_34 pkgs.linuxPackages_nanonote_jz_2_6_34);