* Question about DEPENDS and eg. DEPENDS_class-native
@ 2013-09-26 12:41 Hans Beckérus
2013-09-26 17:10 ` Hans Beckerus
0 siblings, 1 reply; 2+ messages in thread
From: Hans Beckérus @ 2013-09-26 12:41 UTC (permalink / raw)
To: yocto@yoctoproject.org
Hi. Browsing through the existing recipes really did not answer this
since I have no clue what was the initial intent.
So my quick question is if a .inc file has a DEPENDS = "foo" and a
recipe that includes it has DEPENDS_class-native = "fee", will the
resulting depend be merged from the two or will DEPENDS_class-native
completely override DEPENDS? If it overrides, is the correct way to
merge them to do DEPENDS_append_class-native = "fee"?
Thanks.
Hans
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Question about DEPENDS and eg. DEPENDS_class-native
2013-09-26 12:41 Question about DEPENDS and eg. DEPENDS_class-native Hans Beckérus
@ 2013-09-26 17:10 ` Hans Beckerus
0 siblings, 0 replies; 2+ messages in thread
From: Hans Beckerus @ 2013-09-26 17:10 UTC (permalink / raw)
To: yocto@yoctoproject.org
On 2013-09-26 2:41, Hans Beckérus wrote:
> Hi. Browsing through the existing recipes really did not answer this
> since I have no clue what was the initial intent.
> So my quick question is if a .inc file has a DEPENDS = "foo" and a
> recipe that includes it has DEPENDS_class-native = "fee", will the
> resulting depend be merged from the two or will DEPENDS_class-native
> completely override DEPENDS? If it overrides, is the correct way to
> merge them to do DEPENDS_append_class-native = "fee"?
Ok, this one I managed to figure out by doing some trial and error.
What I have learned from that exercise is that if you wish to extend DEPENDS specifically you need to do DEPENDS_append_class-native = " <pkg>"
Doing DEPENDS_class-native = "<pkg> will override DEPENDS completely for native builds. Please correct me if I am wrong.
> Thanks.
> Hans
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-09-26 17:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26 12:41 Question about DEPENDS and eg. DEPENDS_class-native Hans Beckérus
2013-09-26 17:10 ` Hans Beckerus
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.