diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2022-04-01 19:17:22 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-04-02 18:19:06 +0700 |
commit | 22e93a278c13e0ef2fec3d316e51a1759abc80a0 (patch) | |
tree | 85bbc39e8bd08e3ecd9e1326b97ea69168a3ef01 /system/nvidia-kernel/nvidia-kernel.SlackBuild | |
parent | ce2ac85efe37512eaa5c8bedbb0b3037e9157828 (diff) |
system/nvidia-kernel: Updated for version 510.60.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-kernel/nvidia-kernel.SlackBuild')
-rw-r--r-- | system/nvidia-kernel/nvidia-kernel.SlackBuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild index f9322379dc358..18b7751efe0bc 100644 --- a/system/nvidia-kernel/nvidia-kernel.SlackBuild +++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2007-2011 Heinz Wiesinger, Amsterdam, The Netherlands # Copyright 2012-2019 Edward W. Koenig, Vancouver, WA, USA -# Updates cpyright 2020-2021 Lenard Spencer, Orlando, FL, USA +# Updates copyright 2020-2022 Lenard Spencer, Orlando, FL, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=nvidia-kernel -VERSION=${VERSION:-470.63.01} +VERSION=${VERSION:-510.60.02} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -86,17 +86,17 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; (cd kernel || exit 1 - make SYSSRC=$KERNELPATH module || exit 1 +# CC=${CC:-gcc} suppresses an otherwise harmless "compiler mismatch" +# message. If you custom-build your kernel with clang, +# then pass CC=clang to this script. + CC=${CC:-gcc} make SYSSRC=$KERNELPATH module || exit 1 ) 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/nvidia-modeset.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ install -m 0664 kernel/nvidia-drm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ -# 32-bit doesn't have nvidia-uvm -if [ "$TARGET" = "x86_64" ]; then - install -m 0664 kernel/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ -fi +install -m 0664 kernel/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ mkdir -p $PKG/usr/share/X11/xorg.conf.d/ cat $TMP/$SRCNAM/nvidia-drm-outputclass.conf > $PKG/usr/share/X11/xorg.conf.d/10-nvidia.conf |