Commit cd238eff authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

docs: kbuild: convert docs to ReST and rename to *.rst

The kbuild documentation clearly shows that the documents
there are written at different times: some use markdown,
some use their own peculiar logic to split sections.

Convert everything to ReST without affecting too much
the author's style and avoiding adding uneeded markups.

The conversion is actually:
  - add blank lines and identation in order to identify paragraphs;
  - fix tables markups;
  - add some lists markups;
  - mark literal blocks;
  - adjust title markups.

At its new index.rst, let's add a :orphan: while this is not linked to
the main index.rst file, in order to avoid build warnings.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent d7b461c5
...@@ -227,7 +227,7 @@ Configuring the kernel ...@@ -227,7 +227,7 @@ Configuring the kernel
"make tinyconfig" Configure the tiniest possible kernel. "make tinyconfig" Configure the tiniest possible kernel.
You can find more information on using the Linux kernel config tools You can find more information on using the Linux kernel config tools
in Documentation/kbuild/kconfig.txt. in Documentation/kbuild/kconfig.rst.
- NOTES on ``make config``: - NOTES on ``make config``:
......
=============================================
Exporting kernel headers for use by userspace Exporting kernel headers for use by userspace
============================================= =============================================
...@@ -22,14 +23,14 @@ older kernel. ...@@ -22,14 +23,14 @@ older kernel.
The "make headers_install" command can be run in the top level directory of the The "make headers_install" command can be run in the top level directory of the
kernel source code (or using a standard out-of-tree build). It takes two kernel source code (or using a standard out-of-tree build). It takes two
optional arguments: optional arguments::
make headers_install ARCH=i386 INSTALL_HDR_PATH=/usr make headers_install ARCH=i386 INSTALL_HDR_PATH=/usr
ARCH indicates which architecture to produce headers for, and defaults to the ARCH indicates which architecture to produce headers for, and defaults to the
current architecture. The linux/asm directory of the exported kernel headers current architecture. The linux/asm directory of the exported kernel headers
is platform-specific, to see a complete list of supported architectures use is platform-specific, to see a complete list of supported architectures use
the command: the command::
ls -d include/asm-* | sed 's/.*-//' ls -d include/asm-* | sed 's/.*-//'
......
:orphan:
===================
Kernel Build System
===================
.. toctree::
:maxdepth: 1
kconfig-language
kconfig-macro-language
kbuild
kconfig
makefiles
modules
headers_install
issues
.. only:: subproject and html
Indices
=======
* :ref:`genindex`
Recursion issue #1
------------------
.. include:: Kconfig.recursion-issue-01
:literal:
Recursion issue #2
------------------
.. include:: Kconfig.recursion-issue-02
:literal:
======
Kbuild
======
Output files Output files
============
modules.order modules.order
-------------------------------------------------- -------------
This file records the order in which modules appear in Makefiles. This This file records the order in which modules appear in Makefiles. This
is used by modprobe to deterministically resolve aliases that match is used by modprobe to deterministically resolve aliases that match
multiple modules. multiple modules.
modules.builtin modules.builtin
-------------------------------------------------- ---------------
This file lists all modules that are built into the kernel. This is used This file lists all modules that are built into the kernel. This is used
by modprobe to not fail when trying to load something builtin. by modprobe to not fail when trying to load something builtin.
...@@ -18,84 +24,90 @@ Unlike modinfo of a separate module, all fields are prefixed with module name. ...@@ -18,84 +24,90 @@ Unlike modinfo of a separate module, all fields are prefixed with module name.
Environment variables Environment variables
=====================
KCPPFLAGS KCPPFLAGS
-------------------------------------------------- ---------
Additional options to pass when preprocessing. The preprocessing options Additional options to pass when preprocessing. The preprocessing options
will be used in all cases where kbuild does preprocessing including will be used in all cases where kbuild does preprocessing including
building C files and assembler files. building C files and assembler files.
KAFLAGS KAFLAGS
-------------------------------------------------- -------
Additional options to the assembler (for built-in and modules). Additional options to the assembler (for built-in and modules).
AFLAGS_MODULE AFLAGS_MODULE
-------------------------------------------------- -------------
Additional module specific options to use for $(AS). Additional module specific options to use for $(AS).
AFLAGS_KERNEL AFLAGS_KERNEL
-------------------------------------------------- -------------
Additional options for $(AS) when used for assembler Additional options for $(AS) when used for assembler
code for code that is compiled as built-in. code for code that is compiled as built-in.
KCFLAGS KCFLAGS
-------------------------------------------------- -------
Additional options to the C compiler (for built-in and modules). Additional options to the C compiler (for built-in and modules).
CFLAGS_KERNEL CFLAGS_KERNEL
-------------------------------------------------- -------------
Additional options for $(CC) when used to compile Additional options for $(CC) when used to compile
code that is compiled as built-in. code that is compiled as built-in.
CFLAGS_MODULE CFLAGS_MODULE
-------------------------------------------------- -------------
Additional module specific options to use for $(CC). Additional module specific options to use for $(CC).
LDFLAGS_MODULE LDFLAGS_MODULE
-------------------------------------------------- --------------
Additional options used for $(LD) when linking modules. Additional options used for $(LD) when linking modules.
HOSTCFLAGS HOSTCFLAGS
-------------------------------------------------- ----------
Additional flags to be passed to $(HOSTCC) when building host programs. Additional flags to be passed to $(HOSTCC) when building host programs.
HOSTCXXFLAGS HOSTCXXFLAGS
-------------------------------------------------- ------------
Additional flags to be passed to $(HOSTCXX) when building host programs. Additional flags to be passed to $(HOSTCXX) when building host programs.
HOSTLDFLAGS HOSTLDFLAGS
-------------------------------------------------- -----------
Additional flags to be passed when linking host programs. Additional flags to be passed when linking host programs.
HOSTLDLIBS HOSTLDLIBS
-------------------------------------------------- ----------
Additional libraries to link against when building host programs. Additional libraries to link against when building host programs.
KBUILD_KCONFIG KBUILD_KCONFIG
-------------------------------------------------- --------------
Set the top-level Kconfig file to the value of this environment Set the top-level Kconfig file to the value of this environment
variable. The default name is "Kconfig". variable. The default name is "Kconfig".
KBUILD_VERBOSE KBUILD_VERBOSE
-------------------------------------------------- --------------
Set the kbuild verbosity. Can be assigned same values as "V=...". Set the kbuild verbosity. Can be assigned same values as "V=...".
See make help for the full list. See make help for the full list.
Setting "V=..." takes precedence over KBUILD_VERBOSE. Setting "V=..." takes precedence over KBUILD_VERBOSE.
KBUILD_EXTMOD KBUILD_EXTMOD
-------------------------------------------------- -------------
Set the directory to look for the kernel source when building external Set the directory to look for the kernel source when building external
modules. modules.
Setting "M=..." takes precedence over KBUILD_EXTMOD. Setting "M=..." takes precedence over KBUILD_EXTMOD.
KBUILD_OUTPUT KBUILD_OUTPUT
-------------------------------------------------- -------------
Specify the output directory when building the kernel. Specify the output directory when building the kernel.
The output directory can also be specified using "O=...". The output directory can also be specified using "O=...".
Setting "O=..." takes precedence over KBUILD_OUTPUT. Setting "O=..." takes precedence over KBUILD_OUTPUT.
KBUILD_DEBARCH KBUILD_DEBARCH
-------------------------------------------------- --------------
For the deb-pkg target, allows overriding the normal heuristics deployed by For the deb-pkg target, allows overriding the normal heuristics deployed by
deb-pkg. Normally deb-pkg attempts to guess the right architecture based on deb-pkg. Normally deb-pkg attempts to guess the right architecture based on
the UTS_MACHINE variable, and on some architectures also the kernel config. the UTS_MACHINE variable, and on some architectures also the kernel config.
...@@ -103,44 +115,48 @@ The value of KBUILD_DEBARCH is assumed (not checked) to be a valid Debian ...@@ -103,44 +115,48 @@ The value of KBUILD_DEBARCH is assumed (not checked) to be a valid Debian
architecture. architecture.
ARCH ARCH
-------------------------------------------------- ----
Set ARCH to the architecture to be built. Set ARCH to the architecture to be built.
In most cases the name of the architecture is the same as the In most cases the name of the architecture is the same as the
directory name found in the arch/ directory. directory name found in the arch/ directory.
But some architectures such as x86 and sparc have aliases. But some architectures such as x86 and sparc have aliases.
x86: i386 for 32 bit, x86_64 for 64 bit
sh: sh for 32 bit, sh64 for 64 bit - x86: i386 for 32 bit, x86_64 for 64 bit
sparc: sparc32 for 32 bit, sparc64 for 64 bit - sh: sh for 32 bit, sh64 for 64 bit
- sparc: sparc32 for 32 bit, sparc64 for 64 bit
CROSS_COMPILE CROSS_COMPILE
-------------------------------------------------- -------------
Specify an optional fixed part of the binutils filename. Specify an optional fixed part of the binutils filename.
CROSS_COMPILE can be a part of the filename or the full path. CROSS_COMPILE can be a part of the filename or the full path.
CROSS_COMPILE is also used for ccache in some setups. CROSS_COMPILE is also used for ccache in some setups.
CF CF
-------------------------------------------------- --
Additional options for sparse. Additional options for sparse.
CF is often used on the command-line like this:
CF is often used on the command-line like this::
make CF=-Wbitwise C=2 make CF=-Wbitwise C=2
INSTALL_PATH INSTALL_PATH
-------------------------------------------------- ------------
INSTALL_PATH specifies where to place the updated kernel and system map INSTALL_PATH specifies where to place the updated kernel and system map
images. Default is /boot, but you can set it to other values. images. Default is /boot, but you can set it to other values.
INSTALLKERNEL INSTALLKERNEL
-------------------------------------------------- -------------
Install script called when using "make install". Install script called when using "make install".
The default name is "installkernel". The default name is "installkernel".
The script will be called with the following arguments: The script will be called with the following arguments:
$1 - kernel version - $1 - kernel version
$2 - kernel image file - $2 - kernel image file
$3 - kernel map file - $3 - kernel map file
$4 - default install path (use root directory if blank) - $4 - default install path (use root directory if blank)
The implementation of "make install" is architecture specific The implementation of "make install" is architecture specific
and it may differ from the above. and it may differ from the above.
...@@ -149,32 +165,33 @@ INSTALLKERNEL is provided to enable the possibility to ...@@ -149,32 +165,33 @@ INSTALLKERNEL is provided to enable the possibility to
specify a custom installer when cross compiling a kernel. specify a custom installer when cross compiling a kernel.
MODLIB MODLIB
-------------------------------------------------- ------
Specify where to install modules. Specify where to install modules.
The default value is: The default value is::
$(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE) $(INSTALL_MOD_PATH)/lib/modules/$(KERNELRELEASE)
The value can be overridden in which case the default value is ignored. The value can be overridden in which case the default value is ignored.
INSTALL_MOD_PATH INSTALL_MOD_PATH
-------------------------------------------------- ----------------
INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory INSTALL_MOD_PATH specifies a prefix to MODLIB for module directory
relocations required by build roots. This is not defined in the relocations required by build roots. This is not defined in the
makefile but the argument can be passed to make if needed. makefile but the argument can be passed to make if needed.
INSTALL_MOD_STRIP INSTALL_MOD_STRIP
-------------------------------------------------- -----------------
INSTALL_MOD_STRIP, if defined, will cause modules to be INSTALL_MOD_STRIP, if defined, will cause modules to be
stripped after they are installed. If INSTALL_MOD_STRIP is '1', then stripped after they are installed. If INSTALL_MOD_STRIP is '1', then
the default option --strip-debug will be used. Otherwise, the default option --strip-debug will be used. Otherwise,
INSTALL_MOD_STRIP value will be used as the options to the strip command. INSTALL_MOD_STRIP value will be used as the options to the strip command.
INSTALL_HDR_PATH INSTALL_HDR_PATH
-------------------------------------------------- ----------------
INSTALL_HDR_PATH specifies where to install user space headers when INSTALL_HDR_PATH specifies where to install user space headers when
executing "make headers_*". executing "make headers_*".
The default value is:
The default value is::
$(objtree)/usr $(objtree)/usr
...@@ -184,65 +201,65 @@ The output directory is often set using "O=..." on the commandline. ...@@ -184,65 +201,65 @@ The output directory is often set using "O=..." on the commandline.
The value can be overridden in which case the default value is ignored. The value can be overridden in which case the default value is ignored.
KBUILD_SIGN_PIN KBUILD_SIGN_PIN
-------------------------------------------------- ---------------
This variable allows a passphrase or PIN to be passed to the sign-file This variable allows a passphrase or PIN to be passed to the sign-file
utility when signing kernel modules, if the private key requires such. utility when signing kernel modules, if the private key requires such.
KBUILD_MODPOST_WARN KBUILD_MODPOST_WARN
-------------------------------------------------- -------------------
KBUILD_MODPOST_WARN can be set to avoid errors in case of undefined KBUILD_MODPOST_WARN can be set to avoid errors in case of undefined
symbols in the final module linking stage. It changes such errors symbols in the final module linking stage. It changes such errors
into warnings. into warnings.
KBUILD_MODPOST_NOFINAL KBUILD_MODPOST_NOFINAL
-------------------------------------------------- ----------------------
KBUILD_MODPOST_NOFINAL can be set to skip the final link of modules. KBUILD_MODPOST_NOFINAL can be set to skip the final link of modules.
This is solely useful to speed up test compiles. This is solely useful to speed up test compiles.
KBUILD_EXTRA_SYMBOLS KBUILD_EXTRA_SYMBOLS
-------------------------------------------------- --------------------
For modules that use symbols from other modules. For modules that use symbols from other modules.
See more details in modules.txt. See more details in modules.txt.
ALLSOURCE_ARCHS ALLSOURCE_ARCHS
-------------------------------------------------- ---------------
For tags/TAGS/cscope targets, you can specify more than one arch For tags/TAGS/cscope targets, you can specify more than one arch
to be included in the databases, separated by blank space. E.g.: to be included in the databases, separated by blank space. E.g.::
$ make ALLSOURCE_ARCHS="x86 mips arm" tags $ make ALLSOURCE_ARCHS="x86 mips arm" tags
To get all available archs you can also specify all. E.g.: To get all available archs you can also specify all. E.g.::
$ make ALLSOURCE_ARCHS=all tags $ make ALLSOURCE_ARCHS=all tags
KBUILD_ENABLE_EXTRA_GCC_CHECKS KBUILD_ENABLE_EXTRA_GCC_CHECKS
-------------------------------------------------- ------------------------------
If enabled over the make command line with "W=1", it turns on additional If enabled over the make command line with "W=1", it turns on additional
gcc -W... options for more extensive build-time checking. gcc -W... options for more extensive build-time checking.
KBUILD_BUILD_TIMESTAMP KBUILD_BUILD_TIMESTAMP
-------------------------------------------------- ----------------------
Setting this to a date string overrides the timestamp used in the Setting this to a date string overrides the timestamp used in the
UTS_VERSION definition (uname -v in the running kernel). The value has to UTS_VERSION definition (uname -v in the running kernel). The value has to
be a string that can be passed to date -d. The default value be a string that can be passed to date -d. The default value
is the output of the date command at one point during build. is the output of the date command at one point during build.
KBUILD_BUILD_USER, KBUILD_BUILD_HOST KBUILD_BUILD_USER, KBUILD_BUILD_HOST
-------------------------------------------------- ------------------------------------
These two variables allow to override the user@host string displayed during These two variables allow to override the user@host string displayed during
boot and in /proc/version. The default value is the output of the commands boot and in /proc/version. The default value is the output of the commands
whoami and host, respectively. whoami and host, respectively.
KBUILD_LDS KBUILD_LDS
-------------------------------------------------- ----------
The linker script with full path. Assigned by the top-level Makefile. The linker script with full path. Assigned by the top-level Makefile.
KBUILD_VMLINUX_OBJS KBUILD_VMLINUX_OBJS
-------------------------------------------------- -------------------
All object files for vmlinux. They are linked to vmlinux in the same All object files for vmlinux. They are linked to vmlinux in the same
order as listed in KBUILD_VMLINUX_OBJS. order as listed in KBUILD_VMLINUX_OBJS.
KBUILD_VMLINUX_LIBS KBUILD_VMLINUX_LIBS
-------------------------------------------------- -------------------
All .a "lib" files for vmlinux. KBUILD_VMLINUX_OBJS and KBUILD_VMLINUX_LIBS All .a "lib" files for vmlinux. KBUILD_VMLINUX_OBJS and KBUILD_VMLINUX_LIBS
together specify all the object files used to link vmlinux. together specify all the object files used to link vmlinux.
======================
Kconfig macro language
======================
Concept Concept
------- -------
...@@ -7,7 +11,7 @@ targets and prerequisites. The other is a macro language for performing textual ...@@ -7,7 +11,7 @@ targets and prerequisites. The other is a macro language for performing textual
substitution. substitution.
There is clear distinction between the two language stages. For example, you There is clear distinction between the two language stages. For example, you
can write a makefile like follows: can write a makefile like follows::
APP := foo APP := foo
SRC := foo.c SRC := foo.c
...@@ -17,7 +21,7 @@ can write a makefile like follows: ...@@ -17,7 +21,7 @@ can write a makefile like follows:
$(CC) -o $(APP) $(SRC) $(CC) -o $(APP) $(SRC)
The macro language replaces the variable references with their expanded form, The macro language replaces the variable references with their expanded form,
and handles as if the source file were input like follows: and handles as if the source file were input like follows::
foo: foo.c foo: foo.c
gcc -o foo foo.c gcc -o foo foo.c
...@@ -26,7 +30,7 @@ Then, Make analyzes the dependency graph and determines the targets to be ...@@ -26,7 +30,7 @@ Then, Make analyzes the dependency graph and determines the targets to be
updated. updated.
The idea is quite similar in Kconfig - it is possible to describe a Kconfig The idea is quite similar in Kconfig - it is possible to describe a Kconfig
file like this: file like this::
CC := gcc CC := gcc
...@@ -34,7 +38,7 @@ file like this: ...@@ -34,7 +38,7 @@ file like this:
def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC)) def_bool $(shell, $(srctree)/scripts/gcc-check-foo.sh $(CC))
The macro language in Kconfig processes the source file into the following The macro language in Kconfig processes the source file into the following
intermediate: intermediate::
config CC_HAS_FOO config CC_HAS_FOO
def_bool y def_bool y
...@@ -69,7 +73,7 @@ variable. The righthand side of += is expanded immediately if the lefthand ...@@ -69,7 +73,7 @@ variable. The righthand side of += is expanded immediately if the lefthand
side was originally defined as a simple variable. Otherwise, its evaluation is side was originally defined as a simple variable. Otherwise, its evaluation is
deferred. deferred.
The variable reference can take parameters, in the following form: The variable reference can take parameters, in the following form::
$(name,arg1,arg2,arg3) $(name,arg1,arg2,arg3)
...@@ -141,7 +145,7 @@ Make vs Kconfig ...@@ -141,7 +145,7 @@ Make vs Kconfig
Kconfig adopts Make-like macro language, but the function call syntax is Kconfig adopts Make-like macro language, but the function call syntax is
slightly different. slightly different.
A function call in Make looks like this: A function call in Make looks like this::
$(func-name arg1,arg2,arg3) $(func-name arg1,arg2,arg3)
...@@ -149,14 +153,14 @@ The function name and the first argument are separated by at least one ...@@ -149,14 +153,14 @@ The function name and the first argument are separated by at least one
whitespace. Then, leading whitespaces are trimmed from the first argument, whitespace. Then, leading whitespaces are trimmed from the first argument,
while whitespaces in the other arguments are kept. You need to use a kind of while whitespaces in the other arguments are kept. You need to use a kind of
trick to start the first parameter with spaces. For example, if you want trick to start the first parameter with spaces. For example, if you want
to make "info" function print " hello", you can write like follows: to make "info" function print " hello", you can write like follows::
empty := empty :=
space := $(empty) $(empty) space := $(empty) $(empty)
$(info $(space)$(space)hello) $(info $(space)$(space)hello)
Kconfig uses only commas for delimiters, and keeps all whitespaces in the Kconfig uses only commas for delimiters, and keeps all whitespaces in the
function call. Some people prefer putting a space after each comma delimiter: function call. Some people prefer putting a space after each comma delimiter::
$(func-name, arg1, arg2, arg3) $(func-name, arg1, arg2, arg3)
...@@ -166,7 +170,7 @@ Make - for example, $(subst .c, .o, $(sources)) is a typical mistake; it ...@@ -166,7 +170,7 @@ Make - for example, $(subst .c, .o, $(sources)) is a typical mistake; it
replaces ".c" with " .o". replaces ".c" with " .o".
In Make, a user-defined function is referenced by using a built-in function, In Make, a user-defined function is referenced by using a built-in function,
'call', like this: 'call', like this::
$(call my-func,arg1,arg2,arg3) $(call my-func,arg1,arg2,arg3)
...@@ -179,12 +183,12 @@ Likewise, $(info hello, world) prints "hello, world" to stdout. You could say ...@@ -179,12 +183,12 @@ Likewise, $(info hello, world) prints "hello, world" to stdout. You could say
this is _useful_ inconsistency. this is _useful_ inconsistency.
In Kconfig, for simpler implementation and grammatical consistency, commas that In Kconfig, for simpler implementation and grammatical consistency, commas that
appear in the $( ) context are always delimiters. It means appear in the $( ) context are always delimiters. It means::
$(shell, echo hello, world) $(shell, echo hello, world)
is an error because it is passing two parameters where the 'shell' function is an error because it is passing two parameters where the 'shell' function
accepts only one. To pass commas in arguments, you can use the following trick: accepts only one. To pass commas in arguments, you can use the following trick::
comma := , comma := ,
$(shell, echo hello$(comma) world) $(shell, echo hello$(comma) world)
...@@ -195,7 +199,7 @@ Caveats ...@@ -195,7 +199,7 @@ Caveats
A variable (or function) cannot be expanded across tokens. So, you cannot use A variable (or function) cannot be expanded across tokens. So, you cannot use
a variable as a shorthand for an expression that consists of multiple tokens. a variable as a shorthand for an expression that consists of multiple tokens.
The following works: The following works::
RANGE_MIN := 1 RANGE_MIN := 1
RANGE_MAX := 3 RANGE_MAX := 3
...@@ -204,7 +208,7 @@ The following works: ...@@ -204,7 +208,7 @@ The following works:
int "foo" int "foo"
range $(RANGE_MIN) $(RANGE_MAX) range $(RANGE_MIN) $(RANGE_MAX)
But, the following does not work: But, the following does not work::
RANGES := 1 3 RANGES := 1 3
...@@ -213,7 +217,7 @@ But, the following does not work: ...@@ -213,7 +217,7 @@ But, the following does not work:
range $(RANGES) range $(RANGES)
A variable cannot be expanded to any keyword in Kconfig. The following does A variable cannot be expanded to any keyword in Kconfig. The following does
not work: not work::
MY_TYPE := tristate MY_TYPE := tristate
...@@ -223,7 +227,8 @@ not work: ...@@ -223,7 +227,8 @@ not work:
Obviously from the design, $(shell command) is expanded in the textual Obviously from the design, $(shell command) is expanded in the textual
substitution phase. You cannot pass symbols to the 'shell' function. substitution phase. You cannot pass symbols to the 'shell' function.
The following does not work as expected.
The following does not work as expected::
config ENDIAN_FLAG config ENDIAN_FLAG
string string
...@@ -234,7 +239,7 @@ The following does not work as expected. ...@@ -234,7 +239,7 @@ The following does not work as expected.
def_bool $(shell $(srctree)/scripts/gcc-check-flag ENDIAN_FLAG) def_bool $(shell $(srctree)/scripts/gcc-check-flag ENDIAN_FLAG)
Instead, you can do like follows so that any function call is statically Instead, you can do like follows so that any function call is statically
expanded. expanded::
config CC_HAS_ENDIAN_FLAG config CC_HAS_ENDIAN_FLAG
bool bool
......
...@@ -718,7 +718,7 @@ make a neat patch, there's administrative work to be done: ...@@ -718,7 +718,7 @@ make a neat patch, there's administrative work to be done:
- Usually you want a configuration option for your kernel hack. Edit - Usually you want a configuration option for your kernel hack. Edit
``Kconfig`` in the appropriate directory. The Config language is ``Kconfig`` in the appropriate directory. The Config language is
simple to use by cut and paste, and there's complete documentation in simple to use by cut and paste, and there's complete documentation in
``Documentation/kbuild/kconfig-language.txt``. ``Documentation/kbuild/kconfig-language.rst``.
In your description of the option, make sure you address both the In your description of the option, make sure you address both the
expert user and the user who knows nothing about your feature. expert user and the user who knows nothing about your feature.
...@@ -728,7 +728,7 @@ make a neat patch, there's administrative work to be done: ...@@ -728,7 +728,7 @@ make a neat patch, there's administrative work to be done:
- Edit the ``Makefile``: the CONFIG variables are exported here so you - Edit the ``Makefile``: the CONFIG variables are exported here so you
can usually just add a "obj-$(CONFIG_xxx) += xxx.o" line. The syntax can usually just add a "obj-$(CONFIG_xxx) += xxx.o" line. The syntax
is documented in ``Documentation/kbuild/makefiles.txt``. is documented in ``Documentation/kbuild/makefiles.rst``.
- Put yourself in ``CREDITS`` if you've done something noteworthy, - Put yourself in ``CREDITS`` if you've done something noteworthy,
usually beyond a single file (your name should be at the top of the usually beyond a single file (your name should be at the top of the
......
...@@ -686,7 +686,7 @@ filesystems) should advertise this prominently in their prompt string:: ...@@ -686,7 +686,7 @@ filesystems) should advertise this prominently in their prompt string::
... ...
For full documentation on the configuration files, see the file For full documentation on the configuration files, see the file
Documentation/kbuild/kconfig-language.txt. Documentation/kbuild/kconfig-language.rst.
11) Data structures 11) Data structures
......
...@@ -39,7 +39,7 @@ and elsewhere regarding submitting Linux kernel patches. ...@@ -39,7 +39,7 @@ and elsewhere regarding submitting Linux kernel patches.
6) Any new or modified ``CONFIG`` options do not muck up the config menu and 6) Any new or modified ``CONFIG`` options do not muck up the config menu and
default to off unless they meet the exception criteria documented in default to off unless they meet the exception criteria documented in
``Documentation/kbuild/kconfig-language.txt`` Menu attributes: default value. ``Documentation/kbuild/kconfig-language.rst`` Menu attributes: default value.
7) All new ``Kconfig`` options have help text. 7) All new ``Kconfig`` options have help text.
......
...@@ -755,7 +755,7 @@ anche per avere patch pulite, c'è del lavoro amministrativo da fare: ...@@ -755,7 +755,7 @@ anche per avere patch pulite, c'è del lavoro amministrativo da fare:
- Solitamente vorrete un'opzione di configurazione per la vostra modifica - Solitamente vorrete un'opzione di configurazione per la vostra modifica
al kernel. Modificate ``Kconfig`` nella cartella giusta. Il linguaggio al kernel. Modificate ``Kconfig`` nella cartella giusta. Il linguaggio
Config è facile con copia ed incolla, e c'è una completa documentazione Config è facile con copia ed incolla, e c'è una completa documentazione
nel file ``Documentation/kbuild/kconfig-language.txt``. nel file ``Documentation/kbuild/kconfig-language.rst``.
Nella descrizione della vostra opzione, assicuratevi di parlare sia agli Nella descrizione della vostra opzione, assicuratevi di parlare sia agli
utenti esperti sia agli utente che non sanno nulla del vostro lavoro. utenti esperti sia agli utente che non sanno nulla del vostro lavoro.
...@@ -767,7 +767,7 @@ anche per avere patch pulite, c'è del lavoro amministrativo da fare: ...@@ -767,7 +767,7 @@ anche per avere patch pulite, c'è del lavoro amministrativo da fare:
- Modificate il file ``Makefile``: le variabili CONFIG sono esportate qui, - Modificate il file ``Makefile``: le variabili CONFIG sono esportate qui,
quindi potete solitamente aggiungere una riga come la seguete quindi potete solitamente aggiungere una riga come la seguete
"obj-$(CONFIG_xxx) += xxx.o". La sintassi è documentata nel file "obj-$(CONFIG_xxx) += xxx.o". La sintassi è documentata nel file
``Documentation/kbuild/makefiles.txt``. ``Documentation/kbuild/makefiles.rst``.
- Aggiungete voi stessi in ``CREDITS`` se avete fatto qualcosa di notevole, - Aggiungete voi stessi in ``CREDITS`` se avete fatto qualcosa di notevole,
solitamente qualcosa che supera il singolo file (comunque il vostro nome solitamente qualcosa che supera il singolo file (comunque il vostro nome
......
...@@ -696,7 +696,7 @@ nella stringa di titolo:: ...@@ -696,7 +696,7 @@ nella stringa di titolo::
... ...
Per la documentazione completa sui file di configurazione, consultate Per la documentazione completa sui file di configurazione, consultate
il documento Documentation/kbuild/kconfig-language.txt il documento Documentation/kbuild/kconfig-language.rst
11) Strutture dati 11) Strutture dati
......
...@@ -43,7 +43,7 @@ sottomissione delle patch, in particolare ...@@ -43,7 +43,7 @@ sottomissione delle patch, in particolare
6) Le opzioni ``CONFIG``, nuove o modificate, non scombussolano il menu 6) Le opzioni ``CONFIG``, nuove o modificate, non scombussolano il menu
di configurazione e sono preimpostate come disabilitate a meno che non di configurazione e sono preimpostate come disabilitate a meno che non
soddisfino i criteri descritti in ``Documentation/kbuild/kconfig-language.txt`` soddisfino i criteri descritti in ``Documentation/kbuild/kconfig-language.rst``
alla punto "Voci di menu: valori predefiniti". alla punto "Voci di menu: valori predefiniti".
7) Tutte le nuove opzioni ``Kconfig`` hanno un messaggio di aiuto. 7) Tutte le nuove opzioni ``Kconfig`` hanno un messaggio di aiuto.
......
...@@ -599,7 +599,7 @@ Documentation/doc-guide/ 和 scripts/kernel-doc 以获得详细信息。 ...@@ -599,7 +599,7 @@ Documentation/doc-guide/ 和 scripts/kernel-doc 以获得详细信息。
depends on ADFS_FS depends on ADFS_FS
... ...
要查看配置文件的完整文档,请看 Documentation/kbuild/kconfig-language.txt。 要查看配置文件的完整文档,请看 Documentation/kbuild/kconfig-language.rst。
11) 数据结构 11) 数据结构
......
...@@ -38,7 +38,7 @@ Linux内核补丁提交清单 ...@@ -38,7 +38,7 @@ Linux内核补丁提交清单
违规行为。 违规行为。
6) 任何新的或修改过的 ``CONFIG`` 选项都不会弄脏配置菜单,并默认为关闭,除非 6) 任何新的或修改过的 ``CONFIG`` 选项都不会弄脏配置菜单,并默认为关闭,除非
它们符合 ``Documentation/kbuild/kconfig-language.txt`` 中记录的异常条件, 它们符合 ``Documentation/kbuild/kconfig-language.rst`` 中记录的异常条件,
菜单属性:默认值. 菜单属性:默认值.
7) 所有新的 ``kconfig`` 选项都有帮助文本。 7) 所有新的 ``kconfig`` 选项都有帮助文本。
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration" mainmenu "Linux/$(ARCH) $(KERNELVERSION) Kernel Configuration"
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
menuconfig ARC_PLAT_EZNPS menuconfig ARC_PLAT_EZNPS
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
config C6X config C6X
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
config TRACE_IRQFLAGS_SUPPORT config TRACE_IRQFLAGS_SUPPORT
def_bool y def_bool y
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
# Platform selection Kconfig menu for MicroBlaze targets # Platform selection Kconfig menu for MicroBlaze targets
# #
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
config NDS32 config NDS32
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
config OPENRISC config OPENRISC
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
config PPC4xx_PCI_EXPRESS config PPC4xx_PCI_EXPRESS
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
config 64BIT config 64BIT
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
# Auxiliary display drivers configuration. # Auxiliary display drivers configuration.
# #
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
menu "Firmware Drivers" menu "Firmware Drivers"
......
...@@ -48,7 +48,7 @@ config MTD_MS02NV ...@@ -48,7 +48,7 @@ config MTD_MS02NV
If you want to compile this driver as a module ( = code which can be If you want to compile this driver as a module ( = code which can be
inserted in and removed from the running kernel whenever you want), inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/kbuild/modules.txt>. say M here and read <file:Documentation/kbuild/modules.rst>.
The module will be called ms02-nv. The module will be called ms02-nv.
config MTD_DATAFLASH config MTD_DATAFLASH
......
...@@ -49,7 +49,7 @@ config SMC91X ...@@ -49,7 +49,7 @@ config SMC91X
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want). inserted in and removed from the running kernel whenever you want).
The module will be called smc91x. If you want to compile it as a The module will be called smc91x. If you want to compile it as a
module, say M here and read <file:Documentation/kbuild/modules.txt>. module, say M here and read <file:Documentation/kbuild/modules.rst>.
config PCMCIA_SMC91C92 config PCMCIA_SMC91C92
tristate "SMC 91Cxx PCMCIA support" tristate "SMC 91Cxx PCMCIA support"
...@@ -86,7 +86,7 @@ config SMC911X ...@@ -86,7 +86,7 @@ config SMC911X
This driver is also available as a module. The module will be This driver is also available as a module. The module will be
called smc911x. If you want to compile it as a module, say M called smc911x. If you want to compile it as a module, say M
here and read <file:Documentation/kbuild/modules.txt> here and read <file:Documentation/kbuild/modules.rst>
config SMSC911X config SMSC911X
tristate "SMSC LAN911x/LAN921x families embedded ethernet support" tristate "SMSC LAN911x/LAN921x families embedded ethernet support"
...@@ -121,6 +121,6 @@ config SMSC9420 ...@@ -121,6 +121,6 @@ config SMSC9420
This driver is also available as a module. The module will be This driver is also available as a module. The module will be
called smsc9420. If you want to compile it as a module, say M called smsc9420. If you want to compile it as a module, say M
here and read <file:Documentation/kbuild/modules.txt> here and read <file:Documentation/kbuild/modules.rst>
endif # NET_VENDOR_SMSC endif # NET_VENDOR_SMSC
...@@ -32,7 +32,7 @@ config IWL4965 ...@@ -32,7 +32,7 @@ config IWL4965
If you want to compile the driver as a module ( = code which can be If you want to compile the driver as a module ( = code which can be
inserted in and removed from the running kernel whenever you want), inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/kbuild/modules.txt>. The say M here and read <file:Documentation/kbuild/modules.rst>. The
module will be called iwl4965. module will be called iwl4965.
config IWL3945 config IWL3945
...@@ -58,7 +58,7 @@ config IWL3945 ...@@ -58,7 +58,7 @@ config IWL3945
If you want to compile the driver as a module ( = code which can be If you want to compile the driver as a module ( = code which can be
inserted in and removed from the running kernel whenever you want), inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/kbuild/modules.txt>. The say M here and read <file:Documentation/kbuild/modules.rst>. The
module will be called iwl3945. module will be called iwl3945.
menu "iwl3945 / iwl4965 Debugging Options" menu "iwl3945 / iwl4965 Debugging Options"
......
...@@ -40,7 +40,7 @@ config IWLWIFI ...@@ -40,7 +40,7 @@ config IWLWIFI
If you want to compile the driver as a module ( = code which can be If you want to compile the driver as a module ( = code which can be
inserted in and removed from the running kernel whenever you want), inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/kbuild/modules.txt>. The say M here and read <file:Documentation/kbuild/modules.rst>. The
module will be called iwlwifi. module will be called iwlwifi.
if IWLWIFI if IWLWIFI
......
# SPDX-License-Identifier: GPL-2.0-only # SPDX-License-Identifier: GPL-2.0-only
# #
# For a description of the syntax of this configuration file, # For a description of the syntax of this configuration file,
# see Documentation/kbuild/kconfig-language.txt. # see Documentation/kbuild/kconfig-language.rst.
# #
# Parport configuration. # Parport configuration.
# #
......
...@@ -183,7 +183,7 @@ config CHR_DEV_SCH ...@@ -183,7 +183,7 @@ config CHR_DEV_SCH
If you want to compile this as a module ( = code which can be If you want to compile this as a module ( = code which can be
inserted in and removed from the running kernel whenever you want), inserted in and removed from the running kernel whenever you want),
say M here and read <file:Documentation/kbuild/modules.txt> and say M here and read <file:Documentation/kbuild/modules.rst> and
<file:Documentation/scsi/scsi.txt>. The module will be called ch.o. <file:Documentation/scsi/scsi.txt>. The module will be called ch.o.
If unsure, say N. If unsure, say N.
...@@ -1474,7 +1474,7 @@ config ZFCP ...@@ -1474,7 +1474,7 @@ config ZFCP
This driver is also available as a module. This module will be This driver is also available as a module. This module will be
called zfcp. If you want to compile it as a module, say M here called zfcp. If you want to compile it as a module, say M here
and read <file:Documentation/kbuild/modules.txt>. and read <file:Documentation/kbuild/modules.rst>.
config SCSI_PMCRAID config SCSI_PMCRAID
tristate "PMC SIERRA Linux MaxRAID adapter support" tristate "PMC SIERRA Linux MaxRAID adapter support"
......
...@@ -12,4 +12,4 @@ config FB_SM750 ...@@ -12,4 +12,4 @@ config FB_SM750
This driver is also available as a module. The module will be This driver is also available as a module. The module will be
called sm750fb. If you want to compile it as a module, say M called sm750fb. If you want to compile it as a module, say M
here and read <file:Documentation/kbuild/modules.txt>. here and read <file:Documentation/kbuild/modules.rst>.
...@@ -16,7 +16,7 @@ config USB_EMI62 ...@@ -16,7 +16,7 @@ config USB_EMI62
This code is also available as a module ( = code which can be This code is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want). inserted in and removed from the running kernel whenever you want).
The module will be called audio. If you want to compile it as a The module will be called audio. If you want to compile it as a
module, say M here and read <file:Documentation/kbuild/modules.txt>. module, say M here and read <file:Documentation/kbuild/modules.rst>.
config USB_EMI26 config USB_EMI26
tristate "EMI 2|6 USB Audio interface support" tristate "EMI 2|6 USB Audio interface support"
...@@ -67,7 +67,7 @@ config USB_LEGOTOWER ...@@ -67,7 +67,7 @@ config USB_LEGOTOWER
inserted in and removed from the running kernel whenever you want). inserted in and removed from the running kernel whenever you want).
The module will be called legousbtower. If you want to compile it as The module will be called legousbtower. If you want to compile it as
a module, say M here and read a module, say M here and read
<file:Documentation/kbuild/modules.txt>. <file:Documentation/kbuild/modules.rst>.
config USB_LCD config USB_LCD
tristate "USB LCD driver support" tristate "USB LCD driver support"
......
...@@ -289,7 +289,7 @@ config FB_ARMCLCD ...@@ -289,7 +289,7 @@ config FB_ARMCLCD
If you want to compile this as a module (=code which can be If you want to compile this as a module (=code which can be
inserted into and removed from the running kernel), say M inserted into and removed from the running kernel), say M
here and read <file:Documentation/kbuild/modules.txt>. The module here and read <file:Documentation/kbuild/modules.rst>. The module
will be called amba-clcd. will be called amba-clcd.
config FB_ACORN config FB_ACORN
...@@ -1752,7 +1752,7 @@ config FB_PXA ...@@ -1752,7 +1752,7 @@ config FB_PXA
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted and removed from the running kernel whenever you want). The inserted and removed from the running kernel whenever you want). The
module will be called pxafb. If you want to compile it as a module, module will be called pxafb. If you want to compile it as a module,
say M here and read <file:Documentation/kbuild/modules.txt>. say M here and read <file:Documentation/kbuild/modules.rst>.
If unsure, say N. If unsure, say N.
...@@ -1833,7 +1833,7 @@ config FB_W100 ...@@ -1833,7 +1833,7 @@ config FB_W100
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted and removed from the running kernel whenever you want). The inserted and removed from the running kernel whenever you want). The
module will be called w100fb. If you want to compile it as a module, module will be called w100fb. If you want to compile it as a module,
say M here and read <file:Documentation/kbuild/modules.txt>. say M here and read <file:Documentation/kbuild/modules.rst>.
If unsure, say N. If unsure, say N.
...@@ -1862,7 +1862,7 @@ config FB_TMIO ...@@ -1862,7 +1862,7 @@ config FB_TMIO
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted and removed from the running kernel whenever you want). The inserted and removed from the running kernel whenever you want). The
module will be called tmiofb. If you want to compile it as a module, module will be called tmiofb. If you want to compile it as a module,
say M here and read <file:Documentation/kbuild/modules.txt>. say M here and read <file:Documentation/kbuild/modules.rst>.
If unsure, say N. If unsure, say N.
...@@ -1908,7 +1908,7 @@ config FB_S3C2410 ...@@ -1908,7 +1908,7 @@ config FB_S3C2410
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted and removed from the running kernel whenever you want). The inserted and removed from the running kernel whenever you want). The
module will be called s3c2410fb. If you want to compile it as a module, module will be called s3c2410fb. If you want to compile it as a module,
say M here and read <file:Documentation/kbuild/modules.txt>. say M here and read <file:Documentation/kbuild/modules.rst>.
If unsure, say N. If unsure, say N.
config FB_S3C2410_DEBUG config FB_S3C2410_DEBUG
...@@ -1945,7 +1945,7 @@ config FB_SM501 ...@@ -1945,7 +1945,7 @@ config FB_SM501
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted and removed from the running kernel whenever you want). The inserted and removed from the running kernel whenever you want). The
module will be called sm501fb. If you want to compile it as a module, module will be called sm501fb. If you want to compile it as a module,
say M here and read <file:Documentation/kbuild/modules.txt>. say M here and read <file:Documentation/kbuild/modules.rst>.
If unsure, say N. If unsure, say N.
...@@ -2288,7 +2288,7 @@ config FB_SM712 ...@@ -2288,7 +2288,7 @@ config FB_SM712
This driver is also available as a module. The module will be This driver is also available as a module. The module will be
called sm712fb. If you want to compile it as a module, say M called sm712fb. If you want to compile it as a module, say M
here and read <file:Documentation/kbuild/modules.txt>. here and read <file:Documentation/kbuild/modules.rst>.
source "drivers/video/fbdev/omap/Kconfig" source "drivers/video/fbdev/omap/Kconfig"
source "drivers/video/fbdev/omap2/Kconfig" source "drivers/video/fbdev/omap2/Kconfig"
......
...@@ -114,7 +114,7 @@ config BRIDGE_EBT_LIMIT ...@@ -114,7 +114,7 @@ config BRIDGE_EBT_LIMIT
equivalent of the iptables limit match. equivalent of the iptables limit match.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config BRIDGE_EBT_MARK config BRIDGE_EBT_MARK
tristate "ebt: mark filter support" tristate "ebt: mark filter support"
......
...@@ -308,7 +308,7 @@ config IP_NF_RAW ...@@ -308,7 +308,7 @@ config IP_NF_RAW
and OUTPUT chains. and OUTPUT chains.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
# security table for MAC policy # security table for MAC policy
config IP_NF_SECURITY config IP_NF_SECURITY
......
...@@ -241,7 +241,7 @@ config IP6_NF_RAW ...@@ -241,7 +241,7 @@ config IP6_NF_RAW
and OUTPUT chains. and OUTPUT chains.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
# security table for MAC policy # security table for MAC policy
config IP6_NF_SECURITY config IP6_NF_SECURITY
......
...@@ -1056,7 +1056,7 @@ config NETFILTER_XT_TARGET_TRACE ...@@ -1056,7 +1056,7 @@ config NETFILTER_XT_TARGET_TRACE
the tables, chains, rules. the tables, chains, rules.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_TARGET_SECMARK config NETFILTER_XT_TARGET_SECMARK
tristate '"SECMARK" target support' tristate '"SECMARK" target support'
...@@ -1115,7 +1115,7 @@ config NETFILTER_XT_MATCH_ADDRTYPE ...@@ -1115,7 +1115,7 @@ config NETFILTER_XT_MATCH_ADDRTYPE
eg. UNICAST, LOCAL, BROADCAST, ... eg. UNICAST, LOCAL, BROADCAST, ...
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_MATCH_BPF config NETFILTER_XT_MATCH_BPF
tristate '"bpf" match support' tristate '"bpf" match support'
...@@ -1160,7 +1160,7 @@ config NETFILTER_XT_MATCH_COMMENT ...@@ -1160,7 +1160,7 @@ config NETFILTER_XT_MATCH_COMMENT
comments in your iptables ruleset. comments in your iptables ruleset.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_MATCH_CONNBYTES config NETFILTER_XT_MATCH_CONNBYTES
tristate '"connbytes" per-connection counter match support' tristate '"connbytes" per-connection counter match support'
...@@ -1171,7 +1171,7 @@ config NETFILTER_XT_MATCH_CONNBYTES ...@@ -1171,7 +1171,7 @@ config NETFILTER_XT_MATCH_CONNBYTES
number of bytes and/or packets for each direction within a connection. number of bytes and/or packets for each direction within a connection.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_MATCH_CONNLABEL config NETFILTER_XT_MATCH_CONNLABEL
tristate '"connlabel" match support' tristate '"connlabel" match support'
...@@ -1237,7 +1237,7 @@ config NETFILTER_XT_MATCH_DCCP ...@@ -1237,7 +1237,7 @@ config NETFILTER_XT_MATCH_DCCP
and DCCP flags. and DCCP flags.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_MATCH_DEVGROUP config NETFILTER_XT_MATCH_DEVGROUP
tristate '"devgroup" match support' tristate '"devgroup" match support'
...@@ -1473,7 +1473,7 @@ config NETFILTER_XT_MATCH_QUOTA ...@@ -1473,7 +1473,7 @@ config NETFILTER_XT_MATCH_QUOTA
byte counter. byte counter.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_MATCH_RATEEST config NETFILTER_XT_MATCH_RATEEST
tristate '"rateest" match support' tristate '"rateest" match support'
...@@ -1497,7 +1497,7 @@ config NETFILTER_XT_MATCH_REALM ...@@ -1497,7 +1497,7 @@ config NETFILTER_XT_MATCH_REALM
in tc world. in tc world.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_MATCH_RECENT config NETFILTER_XT_MATCH_RECENT
tristate '"recent" match support' tristate '"recent" match support'
...@@ -1519,7 +1519,7 @@ config NETFILTER_XT_MATCH_SCTP ...@@ -1519,7 +1519,7 @@ config NETFILTER_XT_MATCH_SCTP
and SCTP chunk types. and SCTP chunk types.
If you want to compile it as a module, say M here and read If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. If unsure, say `N'. <file:Documentation/kbuild/modules.rst>. If unsure, say `N'.
config NETFILTER_XT_MATCH_SOCKET config NETFILTER_XT_MATCH_SOCKET
tristate '"socket" match support' tristate '"socket" match support'
......
...@@ -17,7 +17,7 @@ menuconfig TIPC ...@@ -17,7 +17,7 @@ menuconfig TIPC
This protocol support is also available as a module ( = code which This protocol support is also available as a module ( = code which
can be inserted in and removed from the running kernel whenever you can be inserted in and removed from the running kernel whenever you
want). The module will be called tipc. If you want to compile it want). The module will be called tipc. If you want to compile it
as a module, say M here and read <file:Documentation/kbuild/modules.txt>. as a module, say M here and read <file:Documentation/kbuild/modules.rst>.
If in doubt, say N. If in doubt, say N.
......
...@@ -68,7 +68,7 @@ endef ...@@ -68,7 +68,7 @@ endef
###### ######
# gcc support functions # gcc support functions
# See documentation in Documentation/kbuild/makefiles.txt # See documentation in Documentation/kbuild/makefiles.rst
# cc-cross-prefix # cc-cross-prefix
# Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-) # Usage: CROSS_COMPILE := $(call cc-cross-prefix, m68k-linux-gnu- m68k-linux-)
...@@ -210,7 +210,7 @@ objectify = $(foreach o,$(1),$(if $(filter /%,$(o)),$(o),$(obj)/$(o))) ...@@ -210,7 +210,7 @@ objectify = $(foreach o,$(1),$(if $(filter /%,$(o)),$(o),$(obj)/$(o)))
# if_changed_dep - as if_changed, but uses fixdep to reveal dependencies # if_changed_dep - as if_changed, but uses fixdep to reveal dependencies
# including used config symbols # including used config symbols
# if_changed_rule - as if_changed but execute rule instead # if_changed_rule - as if_changed but execute rule instead
# See Documentation/kbuild/makefiles.txt for more info # See Documentation/kbuild/makefiles.rst for more info
ifneq ($(KBUILD_NOCMDDEP),1) ifneq ($(KBUILD_NOCMDDEP),1)
# Check if both arguments are the same including their order. Result is empty # Check if both arguments are the same including their order. Result is empty
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
# #
# Both C and C++ are supported, but preferred language is C for such utilities. # Both C and C++ are supported, but preferred language is C for such utilities.
# #
# Sample syntax (see Documentation/kbuild/makefiles.txt for reference) # Sample syntax (see Documentation/kbuild/makefiles.rst for reference)
# hostprogs-y := bin2hex # hostprogs-y := bin2hex
# Will compile bin2hex.c and create an executable named bin2hex # Will compile bin2hex.c and create an executable named bin2hex
# #
......
...@@ -1114,7 +1114,7 @@ static void sym_check_print_recursive(struct symbol *last_sym) ...@@ -1114,7 +1114,7 @@ static void sym_check_print_recursive(struct symbol *last_sym)
} }
fprintf(stderr, fprintf(stderr,
"For a resolution refer to Documentation/kbuild/kconfig-language.txt\n" "For a resolution refer to Documentation/kbuild/kconfig-language.rst\n"
"subsection \"Kconfig recursive dependency limitations\"\n" "subsection \"Kconfig recursive dependency limitations\"\n"
"\n"); "\n");
......
Kconfig:11:error: recursive dependency detected! Kconfig:11:error: recursive dependency detected!
Kconfig:11: symbol B is selected by B Kconfig:11: symbol B is selected by B
For a resolution refer to Documentation/kbuild/kconfig-language.txt For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations" subsection "Kconfig recursive dependency limitations"
Kconfig:5:error: recursive dependency detected! Kconfig:5:error: recursive dependency detected!
Kconfig:5: symbol A depends on A Kconfig:5: symbol A depends on A
For a resolution refer to Documentation/kbuild/kconfig-language.txt For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations" subsection "Kconfig recursive dependency limitations"
Kconfig:17:error: recursive dependency detected! Kconfig:17:error: recursive dependency detected!
Kconfig:17: symbol C1 depends on C2 Kconfig:17: symbol C1 depends on C2
Kconfig:21: symbol C2 depends on C1 Kconfig:21: symbol C2 depends on C1
For a resolution refer to Documentation/kbuild/kconfig-language.txt For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations" subsection "Kconfig recursive dependency limitations"
Kconfig:32:error: recursive dependency detected! Kconfig:32:error: recursive dependency detected!
Kconfig:32: symbol D2 is selected by D1 Kconfig:32: symbol D2 is selected by D1
Kconfig:27: symbol D1 depends on D2 Kconfig:27: symbol D1 depends on D2
For a resolution refer to Documentation/kbuild/kconfig-language.txt For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations" subsection "Kconfig recursive dependency limitations"
Kconfig:37:error: recursive dependency detected! Kconfig:37:error: recursive dependency detected!
Kconfig:37: symbol E1 depends on E2 Kconfig:37: symbol E1 depends on E2
Kconfig:42: symbol E2 is implied by E1 Kconfig:42: symbol E2 is implied by E1
For a resolution refer to Documentation/kbuild/kconfig-language.txt For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations" subsection "Kconfig recursive dependency limitations"
Kconfig:60:error: recursive dependency detected! Kconfig:60:error: recursive dependency detected!
Kconfig:60: symbol G depends on G Kconfig:60: symbol G depends on G
For a resolution refer to Documentation/kbuild/kconfig-language.txt For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations" subsection "Kconfig recursive dependency limitations"
Kconfig:51:error: recursive dependency detected! Kconfig:51:error: recursive dependency detected!
Kconfig:51: symbol F2 depends on F1 Kconfig:51: symbol F2 depends on F1
Kconfig:49: symbol F1 default value contains F2 Kconfig:49: symbol F1 default value contains F2
For a resolution refer to Documentation/kbuild/kconfig-language.txt For a resolution refer to Documentation/kbuild/kconfig-language.rst
subsection "Kconfig recursive dependency limitations" subsection "Kconfig recursive dependency limitations"
...@@ -11,7 +11,7 @@ config DMASOUND_ATARI ...@@ -11,7 +11,7 @@ config DMASOUND_ATARI
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you inserted in and removed from the running kernel whenever you
want). If you want to compile it as a module, say M here and read want). If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. <file:Documentation/kbuild/modules.rst>.
config DMASOUND_PAULA config DMASOUND_PAULA
tristate "Amiga DMA sound support" tristate "Amiga DMA sound support"
...@@ -25,7 +25,7 @@ config DMASOUND_PAULA ...@@ -25,7 +25,7 @@ config DMASOUND_PAULA
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you inserted in and removed from the running kernel whenever you
want). If you want to compile it as a module, say M here and read want). If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. <file:Documentation/kbuild/modules.rst>.
config DMASOUND_Q40 config DMASOUND_Q40
tristate "Q40 sound support" tristate "Q40 sound support"
...@@ -39,7 +39,7 @@ config DMASOUND_Q40 ...@@ -39,7 +39,7 @@ config DMASOUND_Q40
This driver is also available as a module ( = code which can be This driver is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you inserted in and removed from the running kernel whenever you
want). If you want to compile it as a module, say M here and read want). If you want to compile it as a module, say M here and read
<file:Documentation/kbuild/modules.txt>. <file:Documentation/kbuild/modules.rst>.
config DMASOUND config DMASOUND
tristate tristate
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment