diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2010-10-19 13:18:27 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2010-10-20 18:30:23 -0700 |
commit | 7196f3475fce75c6d9b7f9c623fa46fdafc22a12 (patch) | |
tree | 67824699a53096fc56673ebb2a24503d9f4e5cb1 /docs/usermanual/reference | |
parent | b2cbb1dcae492ae2b864f98b2aeeb9754c6ad30e (diff) | |
download | openembedded-7196f3475fce75c6d9b7f9c623fa46fdafc22a12.tar.gz |
usermanual: update to new style staging
Take a look at [1].
[1] http://wiki.openembedded.org/index.php/Legacy_staging
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'docs/usermanual/reference')
-rw-r--r-- | docs/usermanual/reference/dirs_staging.xml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/docs/usermanual/reference/dirs_staging.xml b/docs/usermanual/reference/dirs_staging.xml index 25f3685aad..4d0964f517 100644 --- a/docs/usermanual/reference/dirs_staging.xml +++ b/docs/usermanual/reference/dirs_staging.xml @@ -28,19 +28,17 @@ </listitem> <listitem> - <para>In the <emphasis>stage</emphasis> task for libraries to specify - where to install the headers and libraries.</para> + <para>In the <emphasis>install_append</emphasis> task for libraries to specify + where to install the headers and libraries if not done automatically.</para> </listitem> </orderedlist> <para>The following example from libpcre shows the installation of the libraries and headers from the package into the staging area. Note the use of the <emphasis>oe_libinstall</emphasis> helper function for installation - of the libraries:<screen>do_stage () { - oe_libinstall -a -so libpcre ${STAGING_LIBDIR} - oe_libinstall -a -so libpcreposix ${STAGING_LIBDIR} - install -m 0644 pcre.h ${STAGING_INCDIR}/ - install -m 0644 pcreposix.h ${STAGING_INCDIR}/ + of the libraries:<screen>do_install_append () { + install -d ${STAGING_BINDIR} + install -m 0755 ${D}${bindir}/pcre-config ${STAGING_BINDIR}/ }</screen></para> <para>The following example from the flac recipe shows the location of the @@ -73,7 +71,7 @@ <row> <entry>STAGING_DIR</entry> - <entry>${TMPDIR}/staging</entry> + <entry>${TMPDIR}/sysroots</entry> </row> <row> @@ -166,4 +164,4 @@ <para></para> <para></para> -</section>
\ No newline at end of file +</section> |