wok-6.x rev 984

add linux-cpufreq
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 02 10:26:59 2008 +0000 (2008-07-02)
parents 5f4a3cbb0e4f
children 3c48e6f2d04a
files linux-cpufreq/receipt linux/stuff/linux-2.6.25.5-slitaz.config
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/linux-cpufreq/receipt	Wed Jul 02 10:26:59 2008 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="linux-cpufreq"
     1.7 +VERSION="2.6.25.5"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="The Linux kernel cpufreq modules."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WANTED="linux"
    1.12 +WEB_SITE="http://www.kernel.org/"
    1.13 +
    1.14 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.15 +genpkg_rules()
    1.16 +{
    1.17 +    local path
    1.18 +    path=lib/modules/$VERSION-slitaz/kernel
    1.19 +    mkdir -p $fs/$path
    1.20 +    export src
    1.21 +    export _pkg
    1.22 +    $src/list_modules.sh arch/x86/kernel/cpu/cpufreq drivers/cpufreq | \
    1.23 +    while read module; do
    1.24 +    	dir=$path/$(dirname $module)
    1.25 +    	[ -d $fs/$dir ] || mkdir -p $fs/$dir
    1.26 +        cp -a $_pkg/$path/$module $fs/$dir
    1.27 +    done
    1.28 +}
    1.29 +
    1.30 +# Post install/remove commands for Tazpkg.
    1.31 +post_install()
    1.32 +{
    1.33 +	depmod -a -b "$1/" $VERSION-slitaz
    1.34 +}
    1.35 +
    1.36 +post_remove()
    1.37 +{
    1.38 +	depmod -a $VERSION-slitaz
    1.39 +}
    1.40 +
     2.1 --- a/linux/stuff/linux-2.6.25.5-slitaz.config	Tue Jul 01 21:15:12 2008 +0000
     2.2 +++ b/linux/stuff/linux-2.6.25.5-slitaz.config	Wed Jul 02 10:26:59 2008 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  #
     2.5  # Automatically generated make config: don't edit
     2.6  # Linux kernel version: 2.6.25.5
     2.7 -# Sun Jun 29 17:59:04 2008
     2.8 +# Tue Jul  1 15:22:25 2008
     2.9  #
    2.10  # CONFIG_64BIT is not set
    2.11  CONFIG_X86_32=y
    2.12 @@ -305,7 +305,46 @@
    2.13  #
    2.14  # CPU Frequency scaling
    2.15  #
    2.16 -# CONFIG_CPU_FREQ is not set
    2.17 +CONFIG_CPU_FREQ=y
    2.18 +CONFIG_CPU_FREQ_TABLE=y
    2.19 +# CONFIG_CPU_FREQ_DEBUG is not set
    2.20 +CONFIG_CPU_FREQ_STAT=y
    2.21 +# CONFIG_CPU_FREQ_STAT_DETAILS is not set
    2.22 +CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y
    2.23 +# CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set
    2.24 +# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
    2.25 +# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
    2.26 +CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
    2.27 +CONFIG_CPU_FREQ_GOV_POWERSAVE=m
    2.28 +CONFIG_CPU_FREQ_GOV_USERSPACE=m
    2.29 +CONFIG_CPU_FREQ_GOV_ONDEMAND=m
    2.30 +CONFIG_CPU_FREQ_GOV_CONSERVATIVE=m
    2.31 +
    2.32 +#
    2.33 +# CPUFreq processor drivers
    2.34 +#
    2.35 +CONFIG_X86_ACPI_CPUFREQ=m
    2.36 +CONFIG_X86_POWERNOW_K6=m
    2.37 +CONFIG_X86_POWERNOW_K7=m
    2.38 +CONFIG_X86_POWERNOW_K7_ACPI=y
    2.39 +CONFIG_X86_POWERNOW_K8=m
    2.40 +CONFIG_X86_POWERNOW_K8_ACPI=y
    2.41 +CONFIG_X86_GX_SUSPMOD=m
    2.42 +# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
    2.43 +CONFIG_X86_SPEEDSTEP_ICH=m
    2.44 +CONFIG_X86_SPEEDSTEP_SMI=m
    2.45 +CONFIG_X86_P4_CLOCKMOD=m
    2.46 +CONFIG_X86_CPUFREQ_NFORCE2=m
    2.47 +CONFIG_X86_LONGRUN=m
    2.48 +CONFIG_X86_LONGHAUL=m
    2.49 +CONFIG_X86_E_POWERSAVER=m
    2.50 +
    2.51 +#
    2.52 +# shared options
    2.53 +#
    2.54 +# CONFIG_X86_ACPI_CPUFREQ_PROC_INTF is not set
    2.55 +CONFIG_X86_SPEEDSTEP_LIB=m
    2.56 +CONFIG_X86_SPEEDSTEP_RELAXED_CAP_CHECK=y
    2.57  # CONFIG_CPU_IDLE is not set
    2.58  
    2.59  #