1 |
commit: eaaa493ff559b874bcba3dd4b4fd5e235c1da864 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 27 22:31:18 2021 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 27 22:31:18 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaaa493f |
7 |
|
8 |
linux-mod.eclass : Fix eclassdoc problems |
9 |
|
10 |
Closes: https://bugs.gentoo.org/637782 |
11 |
|
12 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
13 |
|
14 |
eclass/linux-mod.eclass | 13 +++++++++++++ |
15 |
1 file changed, 13 insertions(+) |
16 |
|
17 |
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass |
18 |
index 7e47a2e209d..eda5e9aee01 100644 |
19 |
--- a/eclass/linux-mod.eclass |
20 |
+++ b/eclass/linux-mod.eclass |
21 |
@@ -20,12 +20,14 @@ |
22 |
|
23 |
# @ECLASS-VARIABLE: MODULES_OPTIONAL_USE |
24 |
# @PRE_INHERIT |
25 |
+# @DEFAULT_UNSET |
26 |
# @DESCRIPTION: |
27 |
# A string containing the USE flag to use for making this eclass optional |
28 |
# The recommended non-empty value is 'modules' |
29 |
|
30 |
# @ECLASS-VARIABLE: MODULES_OPTIONAL_USE_IUSE_DEFAULT |
31 |
# @PRE_INHERIT |
32 |
+# @DEFAULT_UNSET |
33 |
# @DESCRIPTION: |
34 |
# A boolean to control the IUSE default state for the MODULES_OPTIONAL_USE USE |
35 |
# flag. Default value is unset (false). True represented by 1 or 'on', other |
36 |
@@ -35,21 +37,26 @@ |
37 |
# @DESCRIPTION: |
38 |
# A string containing the directory of the target kernel sources. The default value is |
39 |
# "/usr/src/linux" |
40 |
+: ${KERNEL_DIR:=/usr/src/linux} |
41 |
|
42 |
# @ECLASS-VARIABLE: ECONF_PARAMS |
43 |
+# @DEFAULT_UNSET |
44 |
# @DESCRIPTION: |
45 |
# It's a string containing the parameters to pass to econf. |
46 |
# If this is not set, then econf isn't run. |
47 |
|
48 |
# @ECLASS-VARIABLE: BUILD_PARAMS |
49 |
+# @DEFAULT_UNSET |
50 |
# @DESCRIPTION: |
51 |
# It's a string with the parameters to pass to emake. |
52 |
|
53 |
# @ECLASS-VARIABLE: BUILD_TARGETS |
54 |
# @DESCRIPTION: |
55 |
# It's a string with the build targets to pass to make. The default value is "clean module" |
56 |
+: ${BUILD_TARGETS:=clean module} |
57 |
|
58 |
# @ECLASS-VARIABLE: MODULE_NAMES |
59 |
+# @DEFAULT_UNSET |
60 |
# @DESCRIPTION: |
61 |
# It's a string containing the modules to be built automatically using the default |
62 |
# src_compile/src_install. It will only make ${BUILD_TARGETS} once in any directory. |
63 |
@@ -94,12 +101,14 @@ |
64 |
# This can be explicitly enabled by setting any of the following variables. |
65 |
|
66 |
# @ECLASS-VARIABLE: MODULESD_<modulename>_ENABLED |
67 |
+# @DEFAULT_UNSET |
68 |
# @DESCRIPTION: |
69 |
# This is used to disable the modprobe.d file generation otherwise the file will be |
70 |
# always generated (unless no MODULESD_<modulename>_* variable is provided). Set to "no" to disable |
71 |
# the generation of the file and the installation of the documentation. |
72 |
|
73 |
# @ECLASS-VARIABLE: MODULESD_<modulename>_EXAMPLES |
74 |
+# @DEFAULT_UNSET |
75 |
# @DESCRIPTION: |
76 |
# This is a bash array containing a list of examples which should |
77 |
# be used. If you want us to try and take a guess set this to "guess". |
78 |
@@ -111,6 +120,7 @@ |
79 |
# where array_component is "<modulename> options" (see modprobe.conf(5)) |
80 |
|
81 |
# @ECLASS-VARIABLE: MODULESD_<modulename>_ALIASES |
82 |
+# @DEFAULT_UNSET |
83 |
# @DESCRIPTION: |
84 |
# This is a bash array containing a list of associated aliases. |
85 |
# |
86 |
@@ -121,17 +131,20 @@ |
87 |
# where array_component is "wildcard <modulename>" (see modprobe.conf(5)) |
88 |
|
89 |
# @ECLASS-VARIABLE: MODULESD_<modulename>_ADDITIONS |
90 |
+# @DEFAULT_UNSET |
91 |
# @DESCRIPTION: |
92 |
# This is a bash array containing a list of additional things to |
93 |
# add to the bottom of the file. This can be absolutely anything. |
94 |
# Each entry is a new line. |
95 |
|
96 |
# @ECLASS-VARIABLE: MODULESD_<modulename>_DOCS |
97 |
+# @DEFAULT_UNSET |
98 |
# @DESCRIPTION: |
99 |
# This is a string list which contains the full path to any associated |
100 |
# documents for <modulename>. These files are installed in the live tree. |
101 |
|
102 |
# @ECLASS-VARIABLE: KV_OBJ |
103 |
+# @INTERNAL |
104 |
# @DESCRIPTION: |
105 |
# It's a read-only variable. It contains the extension of the kernel modules. |