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