summaryrefslogtreecommitdiff
path: root/system/nvidia-kernel/nvidia-kernel.SlackBuild
diff options
context:
space:
mode:
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