kbuild: doc: remove description about grepping CONFIG options
authorMasahiro Yamada <masahiroy@kernel.org>
Tue, 17 Sep 2024 14:16:30 +0000 (23:16 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 23 Sep 2024 18:07:20 +0000 (03:07 +0900)
This description was added 20 years ago [1]. It does not convey any
useful information except for a feeling of nostalgia.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/history/history.git/commit/?id=65e433436b5794ae056d22ddba60fe9194bba007

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nicolas Schier <n.schier@avm.de>
Documentation/kbuild/modules.rst

index 1014a275a7e114d8dfbcff469d3864d6986abd58..268ebbd2ab74095913b36dfc4d5e1e62c08af1c5 100644 (file)
@@ -521,9 +521,3 @@ build.
 
                ext2-y := balloc.o bitmap.o dir.o
                ext2-$(CONFIG_EXT2_FS_XATTR) += xattr.o
-
-       External modules have traditionally used "grep" to check for
-       specific `CONFIG_` settings directly in .config. This usage is
-       broken. As introduced before, external modules should use
-       kbuild for building and can therefore use the same methods as
-       in-tree modules when testing for `CONFIG_` definitions.