All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Antonin Godard" <antonin.godard@bootlin.com>
To: "Quentin Schulz" <quentin.schulz@cherry.de>,
	<docs@lists.yoctoproject.org>
Cc: "Thomas Petazzoni" <thomas.petazzoni@bootlin.com>
Subject: Re: [docs] [yocto-docs][PATCH v2 2/2] migration-5.2: add virtual provider change
Date: Fri, 07 Feb 2025 09:18:23 +0100	[thread overview]
Message-ID: <D7M2DTQZV3KJ.1FMDRKOD2OBR2@bootlin.com> (raw)
In-Reply-To: <23e98634-61ac-47d9-a237-8ca27b36e575@cherry.de>

Hi Quentin,

On Thu Feb 6, 2025 at 10:25 AM CET, Quentin Schulz wrote:
[...]
>>> +
>>> +PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}"
>>> +PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}"
>>> +PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"
>>>
>>> Now looking a bit more into the changes made in this commit, there isn't
>>> a simple search and replace that can be used, sometimes it's replacing a
>>> variable with one value, sometimes with another. Depends on the recipe
>>> the change is made in I guess?
>> 
>> I guess so. It's probably going to be different based on the recipe, but I
>> wouldn't know how to phrase it here. I just gave some more examples to
>> illustrate the changes. Any idea on a better way to explain this?
>> 
>
> The issue is that the example implies that the change is simple and 
> automatic, it is not I'm afraid. For the variables that we know can be 
> changed automatically then it's fine, I believe that's the case for 
> PREFERRED_PROVIDER with TARGET_PREFIX. For the others, maybe stating 
> that one replacement could be X -> Y but it depends, so rather see <link 
> to commit> to check for yourself.
>
> Don't have a better suggestion than that unfortunately.

I get what you mean, thanks. I think I will rephrase this is bit, stating that
those are examples, but should not be taken as a simple grep & replace. I'll
also link to the commit in question.

Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


      reply	other threads:[~2025-02-07  8:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31 11:14 [yocto-docs][PATCH v2 0/2] migration-5.2: Add entries for virtual provider and multiconfig changes Antonin Godard
2025-01-31 11:14 ` [yocto-docs][PATCH v2 1/2] migration-5.2: document BB_CURRENT_MC default value change Antonin Godard
2025-01-31 11:14 ` [yocto-docs][PATCH v2 2/2] migration-5.2: add virtual provider change Antonin Godard
2025-01-31 12:18   ` [docs] " Quentin Schulz
2025-01-31 13:07     ` Antonin Godard
2025-02-06  9:25       ` Quentin Schulz
2025-02-07  8:18         ` Antonin Godard [this message]

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=D7M2DTQZV3KJ.1FMDRKOD2OBR2@bootlin.com \
    --to=antonin.godard@bootlin.com \
    --cc=docs@lists.yoctoproject.org \
    --cc=quentin.schulz@cherry.de \
    --cc=thomas.petazzoni@bootlin.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.