diff options
-rw-r--r-- | system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild | 16 | ||||
-rw-r--r-- | system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info | 6 |
2 files changed, 12 insertions, 10 deletions
diff --git a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild index 5087f69c0915a..c96cd1c32906d 100644 --- a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild +++ b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.SlackBuild @@ -29,7 +29,7 @@ # see nvidia-driver/changelog.txt PRGNAM=nvidia-legacy470-kernel -VERSION=${VERSION:-470.103.01} +VERSION=${VERSION:-470.129.06} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -56,16 +56,16 @@ else exit 1 fi -unset ARCH - # If the variable PRINT_PACKAGE_NAME is set, then this script will report what # the name of the created package would be, and then exit. This information # could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then - echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + echo "$PRGNAM-$PKGVER-$TARGET-$BUILD$TAG.$PKGTYPE" exit 0 fi +unset ARCH + SRCNAM=NVIDIA-Linux-$TARGET-${VERSION} CWD=$(pwd) @@ -87,8 +87,10 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; (cd kernel || exit 1 -# CC=gcc suppresses an otherwise harmless "compiler mismatch" message - CC=gcc 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 @@ -108,4 +110,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc sed "s%@KERNEL@%$KERNEL%" $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$PKGVER-$TARGET-$BUILD$TAG.$PKGTYPE diff --git a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info index 29660553e1974..62f71889b9a1d 100644 --- a/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info +++ b/system/nvidia-legacy470-kernel/nvidia-legacy470-kernel.info @@ -1,10 +1,10 @@ PRGNAM="nvidia-legacy470-kernel" -VERSION="470.103.01" +VERSION="470.129.06" HOMEPAGE="http://www.nvidia.com" DOWNLOAD="UNSUPPORTED" MD5SUM="" -DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.103.01/NVIDIA-Linux-x86_64-470.103.01.run" -MD5SUM_x86_64="f4ea68e482f51f7b358c8bec6162c27a" +DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/470.129.06/NVIDIA-Linux-x86_64-470.129.06.run" +MD5SUM_x86_64="1a9c8ad241e693dcdafc62c37e7c1cdc" REQUIRES="" MAINTAINER="Lenard Spencer" EMAIL="lenardrspencer@gmail.com" |