summaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
authorEdward Koenig <kingbeowulf@gmail.com>2013-12-15 15:32:15 +0100
committerErik Hanson <erik@slackbuilds.org>2013-12-17 11:00:30 -0600
commit479d0b6bab99d3a8da4c97b9709169e2368230ab (patch)
tree0e45bd0d7de7ba8bb906cd40409ed1b1bb5eea69 /system/nvidia-kernel/nvidia-kernel.SlackBuild
parentb9b91736505c9ed377686ea6f726ca5535b97db2 (diff)
downloadslackbuilds-479d0b6bab99d3a8da4c97b9709169e2368230ab.tar.gz
system/nvidia-kernel: Updated for version 331.20, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r--system/nvidia-kernel/nvidia-kernel.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild
index 5ba533796f..13adf618ef 100644
--- a/system/nvidia-kernel/nvidia-kernel.SlackBuild
+++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild
@@ -41,9 +41,10 @@
# 2.3 15-FEB-2013 new version - Long Lived Branch.
# 2.4 19-MAY-2013 new version - Long Lived Branch.
# 2.6 20-OCT-2013 new version - Long Lived Branch.
+# 3.0 13-NOV-2013 new version (LLB), new features.
PRGNAM=nvidia-kernel
-VERSION=319.60
+VERSION=331.20
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -92,14 +93,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-cd kernel || exit 1
-
-make SYSSRC=$KERNELPATH module || exit 1
+(cd kernel || exit 1
+ make SYSSRC=$KERNELPATH module || exit 1
+ cd uvm
+ make SYSSRC=$KERNELPATH module || exit 1
+)
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video
-install -m 0664 nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
+install -m 0664 kernel/nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
+install -m 0664 kernel/uvm/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/
-# Make sure the X is specified to automagically load the
+# Make sure the X is specified to automagically load the
# correct driver, since I always forget. You can remove
# this file if you have an equivilent entry in /etc/X11/xorg.d