summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2020-07-29 09:14:09 +0200
committerJeroen Roovers <jer@gentoo.org>2020-07-29 09:15:21 +0200
commit003365dfd596c07c7ab9e51126a99ed438ba1dc1 (patch)
tree77cf170369ab4acd829a33efeb30f722bfed59ae
parentx11-drivers/nvidia-drivers: Call kernel_is only when USE=driver (diff)
downloadgentoo-003365dfd596c07c7ab9e51126a99ed438ba1dc1.tar.gz
gentoo-003365dfd596c07c7ab9e51126a99ed438ba1dc1.tar.bz2
gentoo-003365dfd596c07c7ab9e51126a99ed438ba1dc1.zip
nvidia-driver.eclass: Call _check_kernel only when USE=driver
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
-rw-r--r--eclass/nvidia-driver.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/nvidia-driver.eclass b/eclass/nvidia-driver.eclass
index 50c5395a686d..d0b6cd41d598 100644
--- a/eclass/nvidia-driver.eclass
+++ b/eclass/nvidia-driver.eclass
@@ -237,5 +237,5 @@ nvidia-driver_check() {
# nvidia-driver.eclass
nvidia-driver_check_gpu
- use kernel_linux && nvidia-driver_check_kernel
+ use driver && use kernel_linux && nvidia-driver_check_kernel
}