Linux Documentation
 help / color / mirror / Atom feed
* [PATCH]: kbuild doc typo fix
@ 2024-07-21 11:37 Давыдов Иван Алексеевич
  2024-07-21 23:10 ` Nathan Chancellor
  0 siblings, 1 reply; 2+ messages in thread
From: Давыдов Иван Алексеевич @ 2024-07-21 11:37 UTC (permalink / raw)
  To: linux-doc, linux-kbuild, corbet, masahiroy; +Cc: nathan, nicolas

In this part of the documentation, $(CC) is meant, but gcc is written.

Signed-off-by: Ivan Davydov <mailto:davydoff33@yandex.ru>
---
diff --git a/Documentation/kbuild/makefiles.rst b/Documentation/kbuild/makefiles.rst
index 991ce6081e35..be43990f1e7f 100644
--- a/Documentation/kbuild/makefiles.rst
+++ b/Documentation/kbuild/makefiles.rst
@@ -578,7 +578,7 @@ cc-option
   Note: cc-option uses KBUILD_CFLAGS for $(CC) options
 
 cc-option-yn
-  cc-option-yn is used to check if gcc supports a given option
+  cc-option-yn is used to check if $(CC) supports a given option
   and return "y" if supported, otherwise "n".
 
   Example::
@@ -596,7 +596,7 @@ cc-option-yn
   Note: cc-option-yn uses KBUILD_CFLAGS for $(CC) options
 
 cc-disable-warning
-  cc-disable-warning checks if gcc supports a given warning and returns
+  cc-disable-warning checks if $(CC) supports a given warning and returns
   the commandline switch to disable it. This special function is needed,
   because gcc 4.4 and later accept any unknown -Wno-* option and only
   warn about it if there is another warning in the source file.
@@ -606,7 +606,7 @@ cc-disable-warning
     KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
 
   In the above example, -Wno-unused-but-set-variable will be added to
-  KBUILD_CFLAGS only if gcc really accepts it.
+  KBUILD_CFLAGS only if $(CC) really accepts it.
 
 gcc-min-version
   gcc-min-version tests if the value of $(CONFIG_GCC_VERSION) is greater than
---




^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-21 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-21 11:37 [PATCH]: kbuild doc typo fix Давыдов Иван Алексеевич
2024-07-21 23:10 ` Nathan Chancellor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox