Openembedded Core Discussions
 help / color / mirror / Atom feed
* DEPENDS tranlation with BBCLASSEXTEND
@ 2011-03-27 20:08 Khem Raj
  2011-03-27 23:03 ` Chris Larson
  0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2011-03-27 20:08 UTC (permalink / raw)
  To: openembedded-core

Hi,

I observed that if I have 
DEPENDS = "a b" in recipe.bb which has BBCLASSEXTEND = "native"
then dependecies for recipe-native shows a-native b-native so far so
good

Now if I want to add a dependency which only is needed for native recipe
I do

DEPENDS_virtclass-native += "c-native"

what this does is it will ignore a-native and b-native dependencies and
only adds "c-native" to depends of native recipe

DEPENDS_virtclass-native_append = " c-native"

This does what I wanted i.e. have deps on a-native b-native c-native

I think behavior of += or _append should be similar. Is my understanding
correct ?


p.s. Another niggle I see is that suppose in above scenario I want
native recipe to not depend upon on b-native but other deps are good.

It would be good to have a directive to exclude deps that should not be
converted into dep-native 

Thx

-- 
-Khem



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

end of thread, other threads:[~2011-03-28 20:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-27 20:08 DEPENDS tranlation with BBCLASSEXTEND Khem Raj
2011-03-27 23:03 ` Chris Larson
2011-03-28 12:48   ` Richard Purdie
2011-03-28 19:03   ` Tom Rini
2011-03-28 19:48     ` Khem Raj
2011-03-28 20:06       ` Tom Rini
2011-03-28 20:11         ` Khem Raj
2011-03-28 20:24           ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox