public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
From: "Ulrich Ölmann" <u.oelmann@pengutronix.de>
To: docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH] ref-manual: add missing quotes
Date: Sun, 12 Feb 2023 22:45:59 +0100	[thread overview]
Message-ID: <6r7cwmpmot.fsf@pengutronix.de> (raw)
In-Reply-To: <174331ACAD9BF3F3.21535@lists.yoctoproject.org>

Hi there,

On Sun, Feb 12 2023 at 22:41 +0100, Ulrich Ölmann <u.oelmann@pengutronix.de> wrote:
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
>  documentation/ref-manual/variables.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
> index a36c4c6df962..c561aae6563a 100644
> --- a/documentation/ref-manual/variables.rst
> +++ b/documentation/ref-manual/variables.rst
> @@ -4275,7 +4275,7 @@ system and gives an overview of their function and contents.
>        To use the variable, set it in the append file for your kernel recipe
>        using the following form::
>
> -         KBUILD_DEFCONFIG_KMACHINE ?= defconfig_file
> +         KBUILD_DEFCONFIG_KMACHINE ?= "defconfig_file"

I did not find any occurance of a variable named "KBUILD_DEFCONFIG_
KMACHINE" in kernel-yocto.bbclass and from the above line's context my
feeling is that the last underscore was meant to be the old override
syntax which should be updated to ":" now. If this is correct then I
would additionally expect the override not to be KMACHINE but MACHINE
instead as only the latter is a valid override. Could someone with more
insight please confirm or reject my suspicion?

In case of positive feedback I would gladly send another patch doing a

  s/KBUILD_DEFCONFIG_KMACHINE/KBUILD_DEFCONFIG:MACHINE/

that changes both occurances in ref-manual/variables.rst and kernel-dev/
common.rst.

Best regards
Ulrich


>        Here is an example from a "raspberrypi2" :term:`KMACHINE` build that uses
>        a ``defconfig`` file named "bcm2709_defconfig"::
-- 
Pengutronix e.K.                           | Ulrich Ölmann               |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


       reply	other threads:[~2023-02-12 22:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <174331ACAD9BF3F3.21535@lists.yoctoproject.org>
2023-02-12 21:45 ` Ulrich Ölmann [this message]
2023-02-13  9:19   ` [docs] [PATCH] ref-manual: add missing quotes Peter Kjellerstedt
2023-02-13  9:19   ` Quentin Schulz
2023-02-13 14:36 ` Ulrich Ölmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6r7cwmpmot.fsf@pengutronix.de \
    --to=u.oelmann@pengutronix.de \
    --cc=docs@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox