aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmail.com>2021-08-14 19:33:38 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-19 18:33:45 +0700
commit3bdbf701ff7b7b2d462bd1c500f9e0541c300a07 (patch)
treef835ca3b721804e25ea006fbbc2101d88e6c4b21 /system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
parent4b5fee8ec1c08e24082939f499a6a216ef365afe (diff)
system/nvidia-legacy390-kernel: Updated for version 390.144.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild')
-rw-r--r--system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild b/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
index 84904a4cadc5..cae4b64562aa 100644
--- a/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
+++ b/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
@@ -25,12 +25,10 @@
# Thanks to Robby Workman for suggestions to improve this script.
-# see nvidia-driver/changelog.txt
-
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=nvidia-legacy390-kernel
-VERSION=${VERSION:-390.143}
+VERSION=${VERSION:-390.144}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -87,8 +85,12 @@ 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 {} \;
-patch -p1 < $CWD/kernel-5.12.patch
-patch -p1 < $CWD/kernel-5.13.patch
+# Patch for 5.14 kernel:
+patch -p0 < $CWD/kernel-5.14.patch
+# 64-bit only:
+if [ "$ARCH" = "x86_64" ]; then
+ patch -p0 < $CWD/kernel-5.14-uvm.patch
+fi
(cd kernel || exit 1
make SYSSRC=$KERNELPATH module || exit 1