[yocto] EXTERNALSRC

Nemicolopterus Crypticus ncrypticus at gmail.com
Thu Sep 11 10:30:34 PDT 2014


Ah - thank you! It's very clear now. Yes I think the formatting will make
it more clear. Examples also help :)

Something's still not working the way I'm expecting, though. According to
this
<http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#ref-classes-externalsrc>
:
"...this class expects the source code to support recipe builds that use
the B
<http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#var-B>
variable
to point to the directory in which the OpenEmbedded build system places the
generated objects built from the recipes."

In my recipe, I have not set EXTERNALSRC_BUILD, so B is the default output
directory I'm expecting.  However, I'm still seeing generated objects show
up in my source tree.  Since I'm using automake, I see aclocal.m4,
autom4te.cache, and other automake artifacts.  Is there any way to get
these to show up in my build tree after they've been generated and used by
autotools?

Alternatively, is there an easy way to remove particular newly-created
artifacts from the source tree?


On Tue, Sep 9, 2014 at 10:10 PM, Nicolas Dechesne <
nicolas.dechesne at linaro.org> wrote:

> On Wed, Sep 10, 2014 at 7:07 AM, Rifenbark, Scott M
> <scott.m.rifenbark at intel.com> wrote:
> > I should have used a formatting tag in the manual source to indicate
> "myrecipe" as user input.  Without the formatting, it implies that
> "myrecipe" is literal when it is not.  I guess the example is not
> technically wrong if the recipe is actually named "myrecipe".  I like your
> added information about setting it in the recipe.  I will add that as well.
>
> ah. ok. i see!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140911/e64ecb28/attachment.html>


More information about the yocto mailing list