diff options
Diffstat (limited to 'kernel/Pkgfile')
-rw-r--r-- | kernel/Pkgfile | 45 |
1 files changed, 22 insertions, 23 deletions
diff --git a/kernel/Pkgfile b/kernel/Pkgfile index 6a5dd6b1a..5290c5005 100644 --- a/kernel/Pkgfile +++ b/kernel/Pkgfile @@ -4,20 +4,20 @@ # Packager: thierryn1 at hispeed dot ch, tyrry33 at gmail dot com name=kernel -version=3.2.10 +version=3.2.9 _BaseVersion=3.2 -release=2 +release=1 PKGMK_NO_STRIP="yes" PKGMK_IGNORE_FOOTPRINT="yes" PKGMK_IGNORE_MD5SUM="yes" -SCRIPT_VERSION="pakxe.4" +SCRIPT_VERSION="pakxe.3" INITRDBASE="nutyx-initrd" -_extra=11032012 -_tools=11032012 +_extra=16022012 +_tools=21022012 NVIDIA_VERSION=295.20 -VB_VERSION=4.1.10 -VB_BUILD=76795 -ATI_VERSION=12.2 +VB_VERSION=4.1.8 +VB_BUILD=75467 +ATI_VERSION=12.1 [ "`uname -m`" == "i686" ] && _ARCH=x86 [ "`uname -m`" == "x86_64" ] && _ARCH=x86_64 @@ -25,22 +25,22 @@ ATI_VERSION=12.2 [ "`uname -m`" == "x86_64" ] && VB_ARCH=amd64 [ "`uname -m`" == "i686" ] && BC_ARCH=x86_32 [ "`uname -m`" == "x86_64" ] && BC_ARCH=x86_64 -source=(http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${BC_ARCH}-v5_100_82_112.tar.gz \ - http://download.virtualbox.org/virtualbox/${VB_VERSION}/VirtualBox-${VB_VERSION}-${VB_BUILD}-Linux_${VB_ARCH}.run \ - http://www2.ati.com/drivers/linux/amd-driver-installer-${ATI_VERSION/./-}-x86.x86_64.run \ - makefile_compat.patch bc_wl_abiupdate.patch 3.2.8.patch \ - http://fr.download.nvidia.com/XFree86/Linux-${_ARCH}/${NVIDIA_VERSION}/NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run\ - http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_BaseVersion}.tar.bz2 config_64 config\ - http://www.kernel.org/pub/linux/kernel/v3.0/patch-$version.bz2 \ - http://nutyx.meticul.eu/install-${SCRIPT_VERSION}.ash \ - http://nutyx.meticul.eu/files/nutyx-initrd-`uname -m`-${_extra}.tar.bz2\ +source=(http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_${BC_ARCH}-v5_100_82_112.tar.gz + http://download.virtualbox.org/virtualbox/${VB_VERSION}/VirtualBox-${VB_VERSION}-${VB_BUILD}-Linux_${VB_ARCH}.run + http://www2.ati.com/drivers/linux/amd-driver-installer-${ATI_VERSION/./-}-x86.x86_64.run + http://fr.download.nvidia.com/XFree86/Linux-${_ARCH}/${NVIDIA_VERSION}/NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run + http://www.kernel.org/pub/linux/kernel/v3.0/linux-${_BaseVersion}.tar.bz2 config_64 config + http://www.kernel.org/pub/linux/kernel/v3.0/patch-$version.bz2 + http://nutyx.meticul.eu/install-${SCRIPT_VERSION}.ash + http://nutyx.meticul.eu/files/nutyx-initrd-`uname -m`-${_extra}.tar.bz2 http://nutyx.meticul.eu/files/installtools-${_tools}.tar.bz2 - http://nutyx.meticul.eu/files/patchs/$name/linux-3.2.10-wm8994-01.patch) + makefile_compat.patch bc_wl_abiupdate.patch ati-kernel-3.2.8.patch) + build(){ sed -i "s/^SCRIPT_VERSION=.\{1,\}/SCRIPT_VERSION=\"$SCRIPT_VERSION\"/" `prt-get printf %p --filter=$name`/$name/post-install # firmware -git clone git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git +git clone git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git rm -r linux-firmware/.git cp -a linux-firmware $INITRDBASE/rootfs/lib/firmware @@ -71,8 +71,7 @@ if ! [ -d /usr/src/linux-${_BaseVersion} ]; then ln -s /usr/src/linux-${_BaseVersion} linux-${_BaseVersion} cd linux-${_BaseVersion} if [ -f $SRC/patch-$version.bz2 ]; then - bzip2 -d -c $SRC/patch-$version.bz2 | patch -Np1 - patch -Np1 -i $SRC/linux-3.2.10-wm8994-01.patch + bzip2 -d -c $SRC/patch-$version.bz2 | patch -Np1 fi cd .. else @@ -92,7 +91,7 @@ esac sed -i "s/EXTRAVERSION = .*/EXTRAVERSION =/" Makefile # When a new patchlevel is release (3.2->3.3 for ex) # decomment and run make menuconfig -# make menuconfig +#make menuconfig case `uname -m` in x86_64) cp .config `prt-get printf %p --filter=$name`/$name/config_64;; @@ -125,7 +124,7 @@ cd $SRC sh amd-driver-installer-${ATI_VERSION/./-}-x86.x86_64.run --extract amd cd amd patch -Np1 -i ../makefile_compat.patch -patch -Np1 -i ../3.2.8.patch +patch -Np1 -i ../ati-kernel-3.2.8.patch cd common/lib/modules/fglrx/build_mod cp 2.6.x/Makefile . cp $SRC/amd/arch/${_ARCH}/lib/modules/fglrx/build_mod/libfglrx_ip.a . |