summaryrefslogtreecommitdiffstats
path: root/base/kernel-lenovo/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-05-30 22:27:55 +0200
committertnut <tnut at nutyx dot com>2011-05-30 22:27:55 +0200
commitc806a602e5d0a03c947d1737baa34590d1bf5e50 (patch)
tree3b5e60f356a57bd1c75a6dc47468575e81722687 /base/kernel-lenovo/Pkgfile
parentf9ce44d20d2e73c4e2c6b927df618eccb521fefb (diff)
downloadnutyx-pakxe-c806a602e5d0a03c947d1737baa34590d1bf5e50.tar.gz
nutyx-pakxe-c806a602e5d0a03c947d1737baa34590d1bf5e50.tar.bz2
nutyx-pakxe-c806a602e5d0a03c947d1737baa34590d1bf5e50.tar.xz
nutyx-pakxe-c806a602e5d0a03c947d1737baa34590d1bf5e50.zip
suppresssion du kernel-lenovo
Diffstat (limited to 'base/kernel-lenovo/Pkgfile')
-rw-r--r--base/kernel-lenovo/Pkgfile69
1 files changed, 0 insertions, 69 deletions
diff --git a/base/kernel-lenovo/Pkgfile b/base/kernel-lenovo/Pkgfile
deleted file mode 100644
index e13ee93ce..000000000
--- a/base/kernel-lenovo/Pkgfile
+++ /dev/null
@@ -1,69 +0,0 @@
-# Description: Optimisé pour Lenovo G550, NetLink BCM5906M Fast Ethernet broadcom, broadcom BCM4312 LP-PHY pilote hybrid, SATA ICH9M/M-E SATA AHCI, VGA Intel Mobile 4, Intel HD Audio, ReiserFS
-# URL: http://www.kernel.org
-# Broadcom URL: http://www.broadcom.com/support/802.11/linux_sta.php
-# Maintainer: NuTyX core team
-# Packager: thierryn1 at hispeed dot ch
-
-name=kernel-lenovo
-version=2.6.36.4
-_BaseVersion=2.6.36
-release=1
-PKGMK_NO_STRIP="yes"
-PKGMK_IGNORE_FOOTPRINT="yes"
-PKGMK_IGNORE_MD5SUM="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)
-
-build(){
-unset MAKEFLAGS
-cd linux-${_BaseVersion}
-make mrproper
-case `uname -m` in
- x86_64)
- cp $SRC/config_64 ./.config;;
- i?86)
- cp $SRC/config ./.config;;
-esac
-if [ -f ../patch-$version.bz2 ]; then
- bzip2 -d -c ../patch-$version.bz2 | patch -Np1
-fi
-sed -i "s/EXTRAVERSION = .*/EXTRAVERSION =/" Makefile
-make menuconfig
-case `uname -m` in
- x86_64)
- cp .config `prt-get printf %p --filter=kernel`/$name/config_64;;
- i?86)
- cp .config `prt-get printf %p --filter=kernel`/$name/config;;
-esac
-make
-make INSTALL_MOD_PATH=$PKG modules_install
-mkdir -p $PKG/boot
-cp System.map \
-$PKG/boot/System.map-$version
-cp .config $PKG/boot/config-$version
-case `uname -m` in
- i?86)
- cp arch/i386/boot/bzImage \
- $PKG/boot/kernel-$version;;
- x86_64)
- cp arch/x86_64/boot/bzImage \
- $PKG/boot/kernel-version;;
-esac
-ln -sf kernel-$version $PKG/boot/kernel
-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
-CFLAGS="-w" KBUILD_NOPEDANTIC=1 make -C $PKG/lib/modules/${_BaseVersion}/build M=`pwd` clean
-CFLAGS="-w" KBUILD_NOPEDANTIC=1 make -C $PKG/lib/modules/${_BaseVersion}/build M=`pwd`
-install -m644 wl.ko $PKG/lib/modules/${_BaseVersion}/kernel/net/wireless/wl.ko
-rm $PKG/lib/modules/${_BaseVersion}/{source,build}
-}