aboutsummaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-kernel
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmai.com>2022-04-05 15:26:55 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-04-09 15:45:45 +0700
commitc075c0741d7c595ff0536649b7d2c3e6917650aa (patch)
tree0513b9d862b3be410652fd77997c9519bfa6f891 /system/nvidia-legacy390-kernel
parent6290ca529927886ae7ca3355c0336d64c6834ac6 (diff)
system/nvidia-legacy390-kernel: Remove unneeded patch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy390-kernel')
-rw-r--r--system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild b/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
index 6a2d3facae58b..544cdee1c849f 100644
--- a/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
+++ b/system/nvidia-legacy390-kernel/nvidia-legacy390-kernel.SlackBuild
@@ -87,10 +87,11 @@ find -L . \
(cd kernel || exit 1
# patch for kernels 5.17 and newer:
-# patch -p1 < $CWD/nvidia-legacy390-pde_data.patch
patch -p1 < $CWD/nvidia-390xx-fix-linux-5.17.patch
-# 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