dev-manual: Added a second EXTERNALSRC example.

Added a new example on how to set this from the recipe or the
recipe's bbappend file.

(From yocto-docs rev: bc0d9de3378f3462729301e74419b7dede17558b)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark 2014-09-10 08:12:49 +03:00 committed by Richard Purdie
parent 79fd7f1b25
commit ab7f117b09
1 changed files with 10 additions and 0 deletions

View File

@ -7262,6 +7262,16 @@ Gateways via their Web Interfaces</ulink>"</emphasis>
</literallayout>
</para>
<para>
This next example shows how to accomplish the same thing by setting
<filename>EXTERNALSRC</filename> in the recipe itself or in the
recipe's append file:
<literallayout class='monospaced'>
EXTERNALSRC = "<replaceable>path</replaceable>"
EXTERNALSRC_BUILD = "<replaceable>path</replaceable>"
</literallayout>
</para>
<para>
By default, <filename>externalsrc.bbclass</filename> builds
the source code in a directory separate from the external source