aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2016-07-26 03:44:16 -0500
committerDavid Spencer <idlemoor@slackbuilds.org>2016-08-05 18:10:57 +0100
commitdcf59644556c55585cb8c51a01ab6b8c951035b5 (patch)
treed66ce77c85a1f6b2b410bf13e36edc721f3397c6 /system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
parent6ce46d43c431dbc347be61ad5739d6d60ecbc9cd (diff)
system/nvidia-legacy304-kernel: Don't use deprecated mtrr API
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
index 8b48c3c9eb36..ad1af699e17c 100644
--- a/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
+++ b/system/nvidia-legacy304-kernel/nvidia-legacy304-kernel.SlackBuild
@@ -23,13 +23,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-# Thanks to Robby Workman for suggestions to improve this script.
-#
# See changelog.txt
PRGNAM=nvidia-legacy304-kernel
VERSION=${VERSION:-304.131}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
KERNEL=${KERNEL:-$(uname -r)}
@@ -79,6 +77,8 @@ 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