aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2017-02-17 23:03:17 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-02-17 23:03:43 +0000
commit43f71d957fb40ab190e97e5bc9ff8661cb2ce909 (patch)
tree3f5920295c2854c557a4623ed12c23dc96d30183 /system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
parent9d2003299252713d9ae8b033ad4f7162d14935fc (diff)
system/nvidia-legacy340-kernel: Updated for version 340.102.
(* Security fix *) Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild b/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
index beab29b121627..2a2ba90016d68 100644
--- a/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
+++ b/system/nvidia-legacy340-kernel/nvidia-legacy340-kernel.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for nvidia-kernel
# Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands
-# Copyright 2011-2015 Edward W. Koenig, Vancouver, WA, USA
+# Copyright 2011-2017 Edward W. Koenig, Vancouver, WA, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -28,7 +28,7 @@
# See changelog.txt
PRGNAM=nvidia-legacy340-kernel
-VERSION=${VERSION:-340.96}
+VERSION=${VERSION:-340.102}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -39,13 +39,13 @@ PKGVER=${VERSION}_$(echo $KERNEL | tr - _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
fi
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
TARGET="x86"
SRCSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
@@ -87,7 +87,7 @@ mkdir -p $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