diff options
author | Edward W. Koenig <kingbeowulf@gmail.com> | 2016-03-21 07:21:27 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-03-21 07:21:27 +0700 |
commit | c1c0ec05b90334079d061d83e60acdbfe30c3ccf (patch) | |
tree | bac69f2c0f7b4e368f99c3d65613b9d98ebb8397 | |
parent | 91b61e7be7ac8f36882d0f362d594c8425b5f63f (diff) |
system/nvidia-kernel: Fix variable.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | system/nvidia-kernel/nvidia-kernel.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/system/nvidia-kernel/nvidia-kernel.SlackBuild b/system/nvidia-kernel/nvidia-kernel.SlackBuild index 1d12dbd730c7..f52ea1dac2d2 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 |