From 84901d1d083a143521e87119553b07a0baa766de Mon Sep 17 00:00:00 2001 From: tnut Date: Tue, 11 Jan 2011 11:28:10 +0100 Subject: kernel-lenovo, adapté pour les 2 archs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/kernel-lenovo/Pkgfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'base/kernel-lenovo/Pkgfile') 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 -- cgit v1.2.3-70-g09d2