summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2011-01-11 11:28:10 +0100
committertnut <thierryn1 at hispeed dot ch>2011-01-11 11:28:10 +0100
commit84901d1d083a143521e87119553b07a0baa766de (patch)
treea87ca0bf920f616d34ab252359520306fd80d0b5
parent1e3bc7b7ccdafa8811c3aac68f12b3bb5a7ecfd3 (diff)
downloadnutyx-pakxe-84901d1d083a143521e87119553b07a0baa766de.tar.gz
nutyx-pakxe-84901d1d083a143521e87119553b07a0baa766de.tar.bz2
nutyx-pakxe-84901d1d083a143521e87119553b07a0baa766de.tar.xz
nutyx-pakxe-84901d1d083a143521e87119553b07a0baa766de.zip
kernel-lenovo, adapté pour les 2 archs
-rw-r--r--base/kernel-lenovo/.md5sum1
-rw-r--r--base/kernel-lenovo/Pkgfile10
2 files changed, 10 insertions, 1 deletions
diff --git a/base/kernel-lenovo/.md5sum b/base/kernel-lenovo/.md5sum
index d45bdd49e..73eff7eaa 100644
--- a/base/kernel-lenovo/.md5sum
+++ b/base/kernel-lenovo/.md5sum
@@ -1,5 +1,6 @@
bb998c79ae83941581d80e8a3645ee19 config
b7e3e376e80f8c905a7d5911ff5a5ef3 config_64
c0074a1622c75916442e26763ddf47d0 hybrid-portsrc_x86_32-v5_100_82_38.tar.gz
+cac172f7422fa43264049c7065fe21d6 hybrid-portsrc_x86_64-v5_100_82_38.tar.gz
61f3739a73afb6914cb007f37fb09b62 linux-2.6.36.tar.bz2
33f51375d4baa343502b39acf94d5a6c patch-2.6.36.3.bz2
diff --git a/base/kernel-lenovo/Pkgfile b/base/kernel-lenovo/Pkgfile
index 12649b6b9..01e627806 100644
--- a/base/kernel-lenovo/Pkgfile
+++ b/base/kernel-lenovo/Pkgfile
@@ -10,6 +10,7 @@ release=1
PKGMK_NO_STRIP="yes"
PKGMK_IGNORE_FOOTPRINT="yes"
source=(http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz \
+ http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86_64-v5_100_82_38.tar.gz \
http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_BaseVersion}.tar.bz2 config config_64\
http://www.kernel.org/pub/linux/kernel/v2.6/patch-$version.bz2)
@@ -43,7 +44,14 @@ case `uname -m` in
esac
ln -sf kernel-$version \
$PKG/boot/kernel
-cd $SRC
+mkdir $SRC/broadcom
+cd $SRC/broadcom
+case `uname -m` in
+ i?86)
+ tar xf $PKGMK_SOURCE_DIR/hybrid-portsrc_x86_32-v5_100_82_38.tar.gz;;
+ x86_64)
+ tar xf $PKGMK_SOURCE_DIR/hybrid-portsrc_x86_64-v5_100_82_38.tar.gz;;
+esac
# make clean
# make
KBUILD_NOPEDANTIC=1 make -C $PKG/lib/modules/$version/build M=`pwd` clean