History

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.

Mauro Carvalho Chehab committed 7 years ago

Commit cd238ef1 parent d7b461c48 files · +846 −567Browse files

Showing the changes to scripts (4 of 48 files). Show all

Unified · Split

4 files
  1. scripts/Kbuild.include +2 −2
  2. scripts/Makefile.host +1 −1
  3. scripts/kconfig/symbol.c +1 −1
  4. scripts/kconfig/tests/err_recursive_dep/expected_stderr +7 −7
scripts/Kbuild.include+2−2
@@ -68,7 +68,7 @@ endef · 67 unmodified lines
6868
6969 ######
7070 # gcc support functions
71−# See documentation in Documentation/kbuild/makefiles.txt
71+# See documentation in Documentation/kbuild/makefiles.rst
7272
7373 # cc-cross-prefix
7474 # 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))) · 135 unmodified lines
210210 # if_changed_dep - as if_changed, but uses fixdep to reveal dependencies
211211 # including used config symbols
212212 # if_changed_rule - as if_changed but execute rule instead
213−# See Documentation/kbuild/makefiles.txt for more info
213+# See Documentation/kbuild/makefiles.rst for more info
214214
215215 ifneq ($(KBUILD_NOCMDDEP),1)
216216 # Check if both arguments are the same including their order. Result is empty
scripts/Makefile.host+1−1
@@ -6,7 +6,7 @@ · 5 unmodified lines
66 #
77 # Both C and C++ are supported, but preferred language is C for such utilities.
88 #
9−# Sample syntax (see Documentation/kbuild/makefiles.txt for reference)
9+# Sample syntax (see Documentation/kbuild/makefiles.rst for reference)
1010 # hostprogs-y := bin2hex
1111 # Will compile bin2hex.c and create an executable named bin2hex
1212 #
scripts/kconfig/symbol.c+1−1
@@ -1114,7 +1114,7 @@ static void sym_check_print_recursive(struct symbol *last_sym) · 1113 unmodified lines
11141114 }
11151115
11161116 fprintf(stderr,
1117− "For a resolution refer to Documentation/kbuild/kconfig-language.txt\n"
1117+ "For a resolution refer to Documentation/kbuild/kconfig-language.rst\n"
11181118 "subsection \"Kconfig recursive dependency limitations\"\n"
11191119 "\n");
11201120
scripts/kconfig/tests/err_recursive_dep/expected_stderr+7−7
@@ -1,38 +1,38 @@
11 Kconfig:11:error: recursive dependency detected!
22 Kconfig:11: symbol B is selected by B
3−For a resolution refer to Documentation/kbuild/kconfig-language.txt
3+For a resolution refer to Documentation/kbuild/kconfig-language.rst
44 subsection "Kconfig recursive dependency limitations"
55
66 Kconfig:5:error: recursive dependency detected!
77 Kconfig:5: symbol A depends on A
8−For a resolution refer to Documentation/kbuild/kconfig-language.txt
8+For a resolution refer to Documentation/kbuild/kconfig-language.rst
99 subsection "Kconfig recursive dependency limitations"
1010
1111 Kconfig:17:error: recursive dependency detected!
1212 Kconfig:17: symbol C1 depends on C2
1313 Kconfig:21: symbol C2 depends on C1
14−For a resolution refer to Documentation/kbuild/kconfig-language.txt
14+For a resolution refer to Documentation/kbuild/kconfig-language.rst
1515 subsection "Kconfig recursive dependency limitations"
1616
1717 Kconfig:32:error: recursive dependency detected!
1818 Kconfig:32: symbol D2 is selected by D1
1919 Kconfig:27: symbol D1 depends on D2
20−For a resolution refer to Documentation/kbuild/kconfig-language.txt
20+For a resolution refer to Documentation/kbuild/kconfig-language.rst
2121 subsection "Kconfig recursive dependency limitations"
2222
2323 Kconfig:37:error: recursive dependency detected!
2424 Kconfig:37: symbol E1 depends on E2
2525 Kconfig:42: symbol E2 is implied by E1
26−For a resolution refer to Documentation/kbuild/kconfig-language.txt
26+For a resolution refer to Documentation/kbuild/kconfig-language.rst
2727 subsection "Kconfig recursive dependency limitations"
2828
2929 Kconfig:60:error: recursive dependency detected!
3030 Kconfig:60: symbol G depends on G
31−For a resolution refer to Documentation/kbuild/kconfig-language.txt
31+For a resolution refer to Documentation/kbuild/kconfig-language.rst
3232 subsection "Kconfig recursive dependency limitations"
3333
3434 Kconfig:51:error: recursive dependency detected!
3535 Kconfig:51: symbol F2 depends on F1
3636 Kconfig:49: symbol F1 default value contains F2
37−For a resolution refer to Documentation/kbuild/kconfig-language.txt
37+For a resolution refer to Documentation/kbuild/kconfig-language.rst
3838 subsection "Kconfig recursive dependency limitations"