All of lore.kernel.org
 help / color / mirror / Atom feed
* devtool modify both target and native recipe
@ 2019-09-17  8:15 Josias Inacio da Silva Filho
  2019-09-24 10:09 ` Ola x Nilsson
  0 siblings, 1 reply; 2+ messages in thread
From: Josias Inacio da Silva Filho @ 2019-09-17  8:15 UTC (permalink / raw)
  To: yocto@yoctoproject.org

I have a recipe that supports building both native and target, however I noticed only one can be modified at a time.

If I try doing:
$ devtool modify myrecipe path_x
$ devtool modify myrecipe-native path_x

It complains saying I can only modify one variant at a time.

The way to get around this issue was to go into build/workspace/appends/myrecipe and change this line:

EXTERNALSRC_pn-myrecipe = path_x

To this:
EXTERNALSRC = path_x

But I wanted to have a proper solution for this. I also saw this comment in the file:
# NOTE: We use pn- overrides here to avoid affecting multiple variants in the case where the recipe uses BBCLASSEXTEND

Is there a way to disable that?



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-24 10:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-17  8:15 devtool modify both target and native recipe Josias Inacio da Silva Filho
2019-09-24 10:09 ` Ola x Nilsson

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.