[OE-core] DEPENDS tranlation with BBCLASSEXTEND
raj.khem at gmail.com
Sun Mar 27 22:08:02 CEST 2011
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
Now if I want to add a dependency which only is needed for native recipe
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
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
More information about the Openembedded-core