summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/kernel-35/Pkgfile22
1 files changed, 12 insertions, 10 deletions
diff --git a/base/kernel-35/Pkgfile b/base/kernel-35/Pkgfile
index 81134fee6..b560abbe5 100644
--- a/base/kernel-35/Pkgfile
+++ b/base/kernel-35/Pkgfile
@@ -6,14 +6,14 @@
name=kernel-35
version=2.6.35.13
_BaseVersion=2.6.35
-release=3
+release=4
PKGMK_NO_STRIP="yes"
PKGMK_IGNORE_FOOTPRINT="yes"
PKGMK_IGNORE_MD5SUM="yes"
SCRIPT_VERSION="pakxe"
INITRDBASE="nutyx-initrd"
_extra=30052011
-_tools=11062011
+_tools=24062011
NVIDIA_VERSION=275.09.07
[ "`uname -m`" == "i686" ] && _ARCH=x86
[ "`uname -m`" == "x86_64" ] && _ARCH=x86_64
@@ -61,6 +61,16 @@ case `uname -m` in
i?86)
cp .config `prt-get printf %p --filter=$name`/$name/config;;
esac
+# Module nvidia
+cd $SRC
+sh NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run --extract-only
+cd NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}/kernel
+ln -s Makefile{.kbuild,}
+SYSSRC=$SRC/linux-${_BaseVersion} make module
+install -m 0644 -D nvidia.ko $PKG/lib/modules/${_BaseVersion}/kernel/video/nvidia/nvidia.ko
+
+# Install modules
+cd $SRC/linux-${_BaseVersion}
make INSTALL_MOD_PATH=$PKG modules_install
mkdir -p $PKG/boot
case `uname -m` in
@@ -97,14 +107,6 @@ mv $SRC/linux-${_BaseVersion}/arch/x86 $PKG/usr/src/linux-${_BaseVersion}/arch
mv $SRC/linux-${_BaseVersion}/vmlinux $PKG/usr/src/linux-${_BaseVersion}/
mv $SRC/linux-${_BaseVersion}/Module.symvers $PKG/usr/src/linux-${_BaseVersion}/
-# Module nvidia
-cd $SRC
-sh NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}.run --extract-only
-cd NVIDIA-Linux-${_ARCH}-${NVIDIA_VERSION}/kernel
-ln -s Makefile{.kbuild,}
-SYSSRC=$PKG/usr/src/linux-${_BaseVersion} make module
-install -m 0644 -D nvidia.ko $PKG/lib/modules/${_BaseVersion}/kernel/video/nvidia/nvidia.ko
-
# initrd
cd $SRC
mkdir -p $PKG/root/bin