mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
sdk-manual: Updates to Neon intalling YP plug-in from latest source
I provided similar wordings in places in this section as were provided in the parallel "oxygen" section. (From yocto-docs rev: 956ee839f05d6608c315899c4444d125db338ef7) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
92f7ba16da
commit
e7cbff7002
@@ -212,8 +212,14 @@
|
|||||||
To install the Neon Eclipse Yocto Plug-in from the latest
|
To install the Neon Eclipse Yocto Plug-in from the latest
|
||||||
source code, follow these steps:
|
source code, follow these steps:
|
||||||
<orderedlist>
|
<orderedlist>
|
||||||
<listitem><para>Be sure your development system
|
<listitem><para>
|
||||||
has JDK 1.8+
|
Be sure your build host has JDK version 1.8
|
||||||
|
or greater.
|
||||||
|
On a Linux build host you can determine the
|
||||||
|
version using the following command:
|
||||||
|
<literallayout class='monospaced'>
|
||||||
|
$ java -version
|
||||||
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>install X11-related packages:
|
<listitem><para>install X11-related packages:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
@@ -227,18 +233,19 @@
|
|||||||
$ git clone git://git.yoctoproject.org/eclipse-yocto
|
$ git clone git://git.yoctoproject.org/eclipse-yocto
|
||||||
</literallayout>
|
</literallayout>
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>Use Git to checkout the correct
|
<listitem><para>
|
||||||
tag:
|
Use Git to create the correct tag:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ cd ~/eclipse-yocto
|
$ cd ~/eclipse-yocto
|
||||||
$ git checkout neon/yocto-&DISTRO;
|
$ git checkout -b neon/&DISTRO_NAME_NO_CAP; remotes/origin/neon/&DISTRO_NAME_NO_CAP;
|
||||||
</literallayout>
|
</literallayout>
|
||||||
This creates a local tag named
|
This creates a local tag named
|
||||||
<filename>neon/yocto-&DISTRO;</filename> based on
|
<filename>neon/&DISTRO_NAME_NO_CAP;</filename>
|
||||||
the branch <filename>origin/neon-master</filename>.
|
based on the branch
|
||||||
This puts you in a detached HEAD state, which
|
<filename>origin/neon/&DISTRO_NAME_NO_CAP;</filename>.
|
||||||
is fine since you are only going to be building
|
You are put into a detached HEAD state,
|
||||||
and not developing.
|
which is fine since you are only going to
|
||||||
|
be building and not developing.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>Change to the
|
<listitem><para>Change to the
|
||||||
<filename>scripts</filename>
|
<filename>scripts</filename>
|
||||||
@@ -259,20 +266,22 @@
|
|||||||
directory of the Git repository created
|
directory of the Git repository created
|
||||||
earlier.
|
earlier.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
<listitem><para>Run the <filename>build.sh</filename>
|
<listitem><para>
|
||||||
|
Run the <filename>build.sh</filename>
|
||||||
script as directed.
|
script as directed.
|
||||||
Be sure to provide the tag name, documentation
|
Be sure to provide the tag name,
|
||||||
branch, and a release name.</para>
|
documentation branch, and a release name.</para>
|
||||||
<para>
|
|
||||||
Following is an example:
|
<para>Following is an example:
|
||||||
<literallayout class='monospaced'>
|
<literallayout class='monospaced'>
|
||||||
$ ECLIPSE_HOME=/home/scottrif/eclipse-yocto/scripts/eclipse ./build.sh -l neon/yocto-&DISTRO; master yocto-&DISTRO; 2>&1 | tee build.log
|
$ ECLIPSE_HOME=/home/scottrif/eclipse-yocto/scripts/eclipse ./build.sh -l neon/&DISTRO_NAME_NO_CAP; master yocto-&DISTRO; 2>&1 | tee build.log
|
||||||
</literallayout>
|
</literallayout>
|
||||||
The previous example command adds the tag you
|
The previous example command adds the tag
|
||||||
need for <filename>neon/yocto-&DISTRO;</filename>
|
you need for
|
||||||
to <filename>HEAD</filename>, then tells the
|
<filename>neon/&DISTRO_NAME_NO_CAP;</filename>
|
||||||
build script to use the local (-l) Git checkout
|
to <filename>HEAD</filename>, then tells
|
||||||
for the build.
|
the build script to use the local (-l) Git
|
||||||
|
checkout for the build.
|
||||||
After running the script, the file
|
After running the script, the file
|
||||||
<filename>org.yocto.sdk-</filename><replaceable>release</replaceable><filename>-</filename><replaceable>date</replaceable><filename>-archive.zip</filename>
|
<filename>org.yocto.sdk-</filename><replaceable>release</replaceable><filename>-</filename><replaceable>date</replaceable><filename>-archive.zip</filename>
|
||||||
is in the current directory.
|
is in the current directory.
|
||||||
|
|||||||
Reference in New Issue
Block a user