by doing the following:
<orderedlist>
<listitem><para>Use the Oracle JDK.
- If you don't have that, go to
+ If you don't have that, go to
<ulink url='http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html'></ulink>
and download the appropriate tarball
- for your development system and
+ for your development system and
extract it into your home directory.
</para></listitem>
<listitem><para>In the shell you are going
- to do your work, export the location of
+ to do your work, export the location of
the Oracle Java as follows:
<literallayout class='monospaced'>
export PATH=~/jdk1.7.0_40/bin:$PATH
</literallayout></para></listitem>
- </orderedlist></para></listitem>
+ </orderedlist></para></listitem>
<listitem><para>In the same shell, create a Git
repository with:
<literallayout class='monospaced'>
</para></listitem>
<listitem><para>Click through the "Okay" buttons.
</para></listitem>
- <listitem><para>Check the boxes
+ <listitem><para>Check the boxes
in the installation window and complete
the installation.</para></listitem>
<listitem><para>Restart the Eclipse IDE if
For example, here is the work directory for recipes and resulting packages that are
not device-dependent:
<literallayout class='monospaced'>
- ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}-${PV}-${PR}
+ ${TMPDIR}/work/${PACKAGE_ARCH}-poky-${TARGET_OS}/${PN}/${EXTENDPE}${PV}-${PR}
</literallayout>
Let's look at an example without variables.
Assuming a top-level <link linkend='source-directory'>Source Directory</link>
the following is the work directory for the <filename>acl</filename> recipe that
creates the <filename>acl</filename> package:
<literallayout class='monospaced'>
- ~/poky/build/tmp/work/i586-poky-linux/acl-2.2.51-r3
+ ~/poky/build/tmp/work/i586-poky-linux/acl/2.2.51-r3/
</literallayout>
</para>
If your resulting package is dependent on the target device,
the work directory varies slightly:
<literallayout class='monospaced'>
- ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}-${PV}-${PR}
+ ${TMPDIR}/work/${MACHINE}-poky-${TARGET_OS}/${PN}/${EXTENDPE}${PV}-${PR}
</literallayout>
Again, assuming top-level Source Directory named <filename>poky</filename>
and a default Build Directory of <filename>poky/build</filename>, the
for the <filename>acl</filename> package that is being
built for a MIPS-based device:
<literallayout class='monospaced'>
- ~/poky/build/tmp/work/mips-poky-linux/acl-2.2.51-r2
- ~/poky/build/tmp/work/mips-poky-linux/acl-2.2.51-r2/acl-2.2.51
+ ~/poky/build/tmp/work/mips-poky-linux/acl/2.2.51-r2
+ ~/poky/build/tmp/work/mips-poky-linux/acl/2.2.51-r2/acl-2.2.51
</literallayout>
</para>
<ulink url='&YOCTO_DOCS_REF_URL;#var-TARGET_OS'><filename>TARGET_OS</filename></ulink>,
<ulink url='&YOCTO_DOCS_REF_URL;#var-PN'><filename>PN</filename></ulink>,
<ulink url='&YOCTO_DOCS_REF_URL;#var-PV'><filename>PV</filename></ulink>,
+ <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTENDPE'><filename>EXTENDPE</filename></ulink>,
and
<ulink url='&YOCTO_DOCS_REF_URL;#var-PR'><filename>PR</filename></ulink>
variables in the Yocto Project Reference Manual.