All of lore.kernel.org
 help / color / mirror / Atom feed
* Multiple bbappends and their order
@ 2015-10-07 15:36 Angelika Tobisch
  2015-10-08  1:26 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Angelika Tobisch @ 2015-10-07 15:36 UTC (permalink / raw)
  To: openembedded-devel

Hello,

suppose I have layers A, B, and C. Layer A provides a recipe. I want
to append this recipe in both layers B and C.

In what order are the appends going to be applied? Is it
deterministic? Does it depend on layer priority? Something else
entirely?

Thank you in advance
Angelika

-- 
DResearch Fahrzeugelektronik GmbH
Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
Tel: +49 30 515932-231 mailto:tobisch@dresearch-fe.de
Fax: +49 30 515932-299
Geschäftsführer: Dr. Michael Weber, Werner Mögle;
Amtsgericht Berlin Charlottenburg; HRB 130120 B;
Ust.-IDNr. DE273952058


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

* Re: Multiple bbappends and their order
  2015-10-07 15:36 Multiple bbappends and their order Angelika Tobisch
@ 2015-10-08  1:26 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2015-10-08  1:26 UTC (permalink / raw)
  To: Martin Jansa

[-- Attachment #1: Type: text/plain, Size: 1458 bytes --]


> On Oct 7, 2015, at 8:36 AM, Angelika Tobisch <tobisch@dresearch-fe.de> wrote:
> 
> Hello,
> 
> suppose I have layers A, B, and C. Layer A provides a recipe. I want
> to append this recipe in both layers B and C.
> 
> In what order are the appends going to be applied? Is it
> deterministic? Does it depend on layer priority? Something else
> entirely?

they are appended in order of BBFILE_PRIORITY defined in each layer’s layer.conf file e.g. a bbappend in layer with BBFILE_PRIORITY = 5
will be appended before bbappend from another layer with BBFILE_PRIORIY = 6
so in theory you can negate the effects of changes in lower priority layer in the bbappend from higher priority layer.
keep in mind that this only works for recipe metadata, not for configuration metadata, for configuration metadata the order layer path in BBFILES
will matter much like PATH search in shell.

> 
> Thank you in advance
> Angelika
> 
> --
> DResearch Fahrzeugelektronik GmbH
> Otto-Schmirgal-Str. 3, 10319 Berlin, Germany
> Tel: +49 30 515932-231 mailto:tobisch@dresearch-fe.de
> Fax: +49 30 515932-299
> Geschäftsführer: Dr. Michael Weber, Werner Mögle;
> Amtsgericht Berlin Charlottenburg; HRB 130120 B;
> Ust.-IDNr. DE273952058
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

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

end of thread, other threads:[~2015-10-08  1:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-07 15:36 Multiple bbappends and their order Angelika Tobisch
2015-10-08  1:26 ` Khem Raj

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.