All of lore.kernel.org
 help / color / mirror / Atom feed
* One question about taskdata and runqueue
@ 2012-02-27 13:51 Xu, Dongxiao
  2012-02-27 16:19 ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Xu, Dongxiao @ 2012-02-27 13:51 UTC (permalink / raw)
  To: yocto

Hi list,

If I have two recipes, see following. Both of them provides
"virtual/test" and has package named "test-test", the only difference is
the RDEPENDS of the package "test-test".

test-a_1.0.bb

PROVIDES = "virtual/test"
PACKAGES = "test-test"
# Assume that the abcd package are provided by recipe abcd.bb
RDEPENDS_test-test = "abcd"


test-b_1.0.bb

PROVIDES = "virtual/test"
PACKAGES = "test-test"

In a certain configuration file, we have the PREFERRED_PROVIDER set as:
PREFERRED_PROVIDER_virtual/test = "test-a".

Then if a real recipe, for example, the 'v86d', depends on the
"virtual/test":
DEPENDS = "virtual/test"

Finally if I run the following command:
# bitbake v86d

We know that the recipe "abcd" will be included in the runqueue.

My question is, can we get the build dependency to recipe "abcd" through
taskdata? Or it is finalized until we create the RunQueue object?


Thanks for help!
-- Dongxiao



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

end of thread, other threads:[~2012-02-28  2:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-27 13:51 One question about taskdata and runqueue Xu, Dongxiao
2012-02-27 16:19 ` Richard Purdie
2012-02-28  2:21   ` Xu, Dongxiao

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.