documentation: dev-manual - updated branch to use DISTRO_NAME

I changed the preferred branch for the Eclipse example from
a hard-coded "1.3_beta" to use the DISTRO_NAME variable.

(From yocto-docs rev: 9393c5d1e44a1e326c73353b090c1d1c1a5833da)

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 2012-10-01 11:35:58 -07:00 committed by Richard Purdie
parent 873ac6a8c2
commit 5e1460de1f
1 changed files with 6 additions and 6 deletions

View File

@ -923,9 +923,9 @@
For this example, the repository is named
<filename>~/yocto-eclipse</filename>.</para></listitem>
<listitem><para>Be sure you are in the right branch for your Git repository.
For this release set the branch to <filename>1.3_beta</filename>:
For this release set the branch to <filename>&DISTRO_NAME;</filename>:
<literallayout class='monospaced'>
$ git checkout -b 1.3_beta origin/1.3_beta
$ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME;
</literallayout></para></listitem>
<listitem><para>Locate the <filename>build.sh</filename> script in the
Git repository you created in the previous step.
@ -939,19 +939,19 @@
</literallayout></para></listitem>
<listitem><para>Be sure you have the right branch in the Poky Git repository
checked out.
For example, the following commands checkout the <filename>1.3_beta</filename>
For example, the following commands checkout the <filename>&DISTRO_NAME;</filename>
branch in the local Poky Git repository:
<literallayout class='monospaced'>
$ cd ~/poky
$ git checkout -b 1.3_beta origin/1.3_beta
$ git checkout -b &DISTRO_NAME; origin/&DISTRO_NAME;
</literallayout></para></listitem>
<listitem><para>Move back to your Yocto Eclipse directory and
run the <filename>build.sh</filename> script.
Provide the name of the Git branch along with the Yocto Project release you are
using.
Here is an example that uses the <filename>1.3_beta</filename> branches:
Here is an example that uses the <filename>&DISTRO_NAME;</filename> branches:
<literallayout class='monospaced'>
$ scripts/build.sh 1.3_beta 1.3_beta
$ scripts/build.sh &DISTRO_NAME; &DISTRO_NAME;
</literallayout>
After running the script, the file
<filename>org.yocto.sdk-&lt;release&gt;-&lt;date&gt;-archive.zip</filename>