[oe] how to add file to SRC_URI for target only

Chris Larson clarson at kergoth.com
Mon Aug 30 18:49:54 UTC 2010


On Mon, Aug 30, 2010 at 11:38 AM, Frans Meulenbroeks <
fransmeulenbroeks at gmail.com> wrote:

> 2010/8/30 Chris Larson <clarson at kergoth.com>:
> >
> >
> > The logic already exists.  SPECIAL_PKGSUFFIX has to have current
> information
> > about the suffixes in order for BPN to be correct.  It seems pretty silly
> to
> > duplicate it, but whatever works.
>
> I thought there was no suffix for target. It would be nice to have
> that. For _native, _sdk etc it exists, but I cannot say
> DEPENDS_target = ...
> which could be handy in recipes using BBCLASSEXTEND = "native"


There is no suffix for target, which is why the previously mentioned snippet
compares PN to BPN (BPN is PN with the SPECIAL_PKGSUFFIX'es removed).
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics



More information about the Openembedded-devel mailing list