[Lunar-commits] <moonbase> linux-2.6: updated to 2.6.31.3 added temp support for AMD K10

Zbigniew Luszpinski zbiggy at lunar-linux.org
Fri Oct 9 12:43:16 CEST 2009


commit 5d7f4d9b727af2f928fb66c3d3c9d66dd826a234
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Fri Oct 9 12:43:16 2009 +0200

    linux-2.6: updated to 2.6.31.3 added temp support for AMD K10
---
 kernel/linux-2.6/DETAILS   |    9 ++++++---
 kernel/linux-2.6/PRE_BUILD |    5 +++++
 2 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/kernel/linux-2.6/DETAILS b/kernel/linux-2.6/DETAILS
index f0be635..958e92c 100644
--- a/kernel/linux-2.6/DETAILS
+++ b/kernel/linux-2.6/DETAILS
@@ -1,18 +1,21 @@
           MODULE=linux-2.6
-         VERSION=2.6.31.2
+         VERSION=2.6.31.3
             BASE=$(echo $VERSION | cut -d. -f1,2,3)
           SOURCE=linux-${BASE}.tar.bz2
          SOURCE2=patch-${VERSION}.bz2
+         SOURCE3=k10temp.patch
 SOURCE_DIRECTORY=$BUILD_DIRECTORY/linux-$VERSION
    SOURCE_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6
    SOURCE_URL[1]=http://www.kernel.org/pub/linux/kernel/v2.6
   SOURCE2_URL[0]=$KERNEL_URL/pub/linux/kernel/v2.6
   SOURCE2_URL[1]=http://www.kernel.org/pub/linux/kernel/v2.6
+  SOURCE3_URL[0]=$PATCH_URL
       SOURCE_VFY=sha1:c6e0e6b473ba2b80d164e37cfabf294e783c03d9
-     SOURCE2_VFY=sha1:10f07fd406d771b8f0288cef1d1a1b95998d729d
+     SOURCE2_VFY=sha1:d23b4dd2bb361506ec6e8067055b3de4a58e4f35
+     SOURCE3_VFY=sha1:aace1a887fab63ea6530533a4e87c6bb1721dc24
         WEB_SITE=http://www.kernel.org
          ENTERED=20041019
-         UPDATED=20091006
+         UPDATED=20091008
            SHORT="The core of a Linux GNU Operating System"
      KEEP_SOURCE=on
            TMPFS=off
diff --git a/kernel/linux-2.6/PRE_BUILD b/kernel/linux-2.6/PRE_BUILD
index 23715b2..784cad3 100644
--- a/kernel/linux-2.6/PRE_BUILD
+++ b/kernel/linux-2.6/PRE_BUILD
@@ -25,6 +25,11 @@ if [ -n "${SOURCE2}" ]; then
     patch_it ${SOURCE2} 1
 fi
 
+# add temperature sensor for AMD K10 family
+if [ -n "`grep Phenom /proc/cpuinfo`" ]; then
+    patch_it $SOURCE3 0
+fi
+
 if  [ -f $CONFIG_CACHE/.config.2.6.stable ]; then
     cp $CONFIG_CACHE/.config.2.6.stable $SOURCE_DIRECTORY/.config;
 elif [ -f $CONFIG_CACHE/.config.beta ]; then


More information about the Lunar-commits mailing list