• [gentoo-dev] [PATCH] linux-mod.eclass : Fix eclassdoc problems

    From Mike Pagano@21:1/5 to All on Fri Aug 27 15:10:03 2021
    linux-mod.eclass : Fix eclassdoc problems

    Bug: https://bugs.gentoo.org/637782

    Signed-off-by: Mike Pagano <mpagano@gentoo.org>
    ---
    eclass/linux-mod.eclass | 13 +++++++++++++
    1 file changed, 13 insertions(+)

    diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
    index 7e47a2e20..eda5e9aee 100644
    --- a/eclass/linux-mod.eclass
    +++ b/eclass/linux-mod.eclass
    @@ -20,12 +20,14 @@

    # @ECLASS-VARIABLE: MODULES_OPTIONAL_USE
    # @PRE_INHERIT
    +# @DEFAULT_UNSET
    # @DESCRIPTION:Cc: mpagano@gentoo.org

    # A string containing the USE flag to use for making this eclass optional
    # The recommended non-empty value is 'modules'

    # @ECLASS-VARIABLE: MODULES_OPTIONAL_USE_IUSE_DEFAULT
    # @PRE_INHERIT
    +# @DEFAULT_UNSET
    # @DESCRIPTION:
    # A boolean to control the IUSE default state for the MODULES_OPTIONAL_USE USE
    # flag. Default value is unset (false). True represented by 1 or 'on', other @@ -35,21 +37,26 @@
    # @DESCRIPTION:
    # A string containing the directory of the target kernel sources. The default value is
    # "/usr/src/linux"
    +: ${KERNEL_DIR:=/usr/src/linux}

    # @ECLASS-VARIABLE: ECONF_PARAMS