From c1c0ec05b90334079d061d83e60acdbfe30c3ccf Mon Sep 17 00:00:00 2001 From: Edward W. Koenig Date: Mon, 21 Mar 2016 07:21:27 +0700 Subject: system/nvidia-kernel: Fix variable. Signed-off-by: Willy Sudiarto Raharjo --- system/nvidia-kernel/nvidia-kernel.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild index 1d12dbd730..f52ea1dac2 100644 --- a/system/nvidia-kernel/nvidia-kernel.SlackBuild +++ b/system/nvidia-kernel/nvidia-kernel.SlackBuild @@ -29,7 +29,7 @@ PRGNAM=nvidia-kernel VERSION=${VERSION:-352.63} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} KERNEL=${KERNEL:-$(uname -r)} @@ -82,7 +82,7 @@ find -L . \ # Nvidia removed uvm module from 32-bit (cd kernel || exit 1 make SYSSRC=$KERNELPATH module || exit 1 - if [ "$ARCH" = "x86_64" ]; then + if [ "$TARGET" = "x86_64" ]; then cd uvm make SYSSRC=$KERNELPATH module || exit 1 fi @@ -90,11 +90,11 @@ find -L . \ mkdir -p $PKG/lib/modules/$KERNEL/kernel/drivers/video install -m 0664 kernel/nvidia.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ -if [ "$ARCH" = "x86_64" ]; then +if [ "$TARGET" = "x86_64" ]; then install -m 0664 kernel/uvm/nvidia-uvm.ko $PKG/lib/modules/$KERNEL/kernel/drivers/video/ fi -# Make sure the X is specified to automagically load the +# Make sure the X is specified to automagically load the # correct driver, since I always forget. You can remove # this file if you have an equivilent entry in /etc/X11/xorg.d -- cgit v1.2.3