summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2025-08-12 17:52:53 +0200
committerJonathan Corbet <corbet@lwn.net>2025-08-13 10:19:17 -0600
commitdf4d2f966354297c94ba5e198533cc31548a12a8 (patch)
tree43b0053148089ea4c1f7859405027ff1ce46bfb0
parent29e71d96837dd49ab2f35f3524a1ceda0ff21ea7 (diff)
scripts: sphinx-pre-install: update mandatory system deps
To build docs, gcc is not needed. Also, Kernel can be built nowadays with clang. So, drop it. On the other hand, which is needed. Add a system dependency for it. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/4ec979e4692c9e4acd6c31424c0e2f4bf5b80e71.1754992972.git.mchehab+huawei@kernel.org
-rwxr-xr-xscripts/sphinx-pre-install2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install
index 7dfe5c2a6cc2..fc9dc45054d7 100755
--- a/scripts/sphinx-pre-install
+++ b/scripts/sphinx-pre-install
@@ -1476,7 +1476,7 @@ class SphinxDependencyChecker(MissingCheckers):
self.check_perl_module("Pod::Usage", DepManager.SYSTEM_MANDATORY)
self.check_program("make", DepManager.SYSTEM_MANDATORY)
- self.check_program("gcc", DepManager.SYSTEM_MANDATORY)
+ self.check_program("which", DepManager.SYSTEM_MANDATORY)
self.check_program("dot", DepManager.SYSTEM_OPTIONAL)
self.check_program("convert", DepManager.SYSTEM_OPTIONAL)