aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@gmail.com>2017-02-17 22:50:41 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-02-17 22:57:26 +0000
commitc9a5c118288c97d6ecd0532a3dc8adf947844c02 (patch)
treedc0fee83759c22edca85caaa455e4c5149844e09 /system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
parent8e6534c6c983c3929004bc87d5b397445b9ba976 (diff)
system/nvidia-legacy304-kernel: Updated for version 304.135.
(* Security fix *) Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild12
1 files changed, 5 insertions, 7 deletions
diff --git a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
index ad1af699e17ce..e4458adcb9d1b 100644
--- a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
+++ b/system/nvidia-legacy304-kernel/nvidia-legacy304-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
@@ -26,8 +26,8 @@
# See changelog.txt
PRGNAM=nvidia-legacy304-kernel
-VERSION=${VERSION:-304.131}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-304.135}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -37,13 +37,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
@@ -77,8 +77,6 @@ find -L . \
cd kernel || exit 1
-patch -p1 < $CWD/disable-mtrr.patch || exit 1
-
make SYSSRC=$KERNELPATH module || exit 1
mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video