mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/nvidia-kernel: Updated for version 510.60.02.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
ce2ac85efe
commit
22e93a278c
3 changed files with 14 additions and 10 deletions
|
@ -13,3 +13,7 @@ You do not need this file at all if you have a proper and complete
|
|||
xorg.conf.
|
||||
|
||||
The xf86-video-nouveau-blacklist package from /extra is required.
|
||||
|
||||
NOTE: Beginning with the 495 series, support for Geforce 6xx/7xx GPUs
|
||||
is dropped. For these GPUs, please use the nvidia-legacy470 or
|
||||
nvidia-legacy390 SBo scripts.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="nvidia-kernel"
|
||||
VERSION="470.63.01"
|
||||
VERSION="510.60.02"
|
||||
HOMEPAGE="http://www.nvidia.com"
|
||||
DOWNLOAD="UNSUPPORTED"
|
||||
MD5SUM=""
|
||||
DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.63.01/NVIDIA-Linux-x86_64-470.63.01.run"
|
||||
MD5SUM_x86_64="24ffc518e708addc9728f7f356f56ef7"
|
||||
DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/510.60.02/NVIDIA-Linux-x86_64-510.60.02.run"
|
||||
MD5SUM_x86_64="2288e18f3b767e66d465fb4add1df080"
|
||||
REQUIRES=""
|
||||
MAINTAINER="Lenard Spencer"
|
||||
EMAIL="lenardrspencer@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue