summaryrefslogtreecommitdiffstats
path: root/documentation/poky-ref-manual
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-04-04 16:20:58 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-04-06 08:01:20 -0700
commitbed5b96b0e6491b08adaba393878cb7ec92462c6 (patch)
treee1a53abf08f93e5fed6c37053c6e461f4ae5ebfb /documentation/poky-ref-manual
parentefaf5d0973ee70ce3def9dbff64108796f80b9d8 (diff)
downloadpoky-bed5b96b0e6491b08adaba393878cb7ec92462c6.tar.gz
documentation/poky-ref-manual/ref-classes.xml: re-write of autotooled packages
Section C.2 (Autotooled Packages) was re-written. I removed a bunch of <variable> tags and replaced them with <filename>. Also removed some Britishisms. (From OE-Core rev: 7a932962fb8f0dbfe14eb2d3636ddbb1c974b947) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/poky-ref-manual')
-rw-r--r--documentation/poky-ref-manual/ref-classes.xml39
1 files changed, 21 insertions, 18 deletions
diff --git a/documentation/poky-ref-manual/ref-classes.xml b/documentation/poky-ref-manual/ref-classes.xml
index 0cb2fcee17..14029559ce 100644
--- a/documentation/poky-ref-manual/ref-classes.xml
+++ b/documentation/poky-ref-manual/ref-classes.xml
@@ -15,7 +15,7 @@
15 by BUILDDIR (e.g. <filename class="directory">build/</filename>)in the same way as 15 by BUILDDIR (e.g. <filename class="directory">build/</filename>)in the same way as
16 <filename class="extension">.conf</filename> files in the <filename 16 <filename class="extension">.conf</filename> files in the <filename
17 class="directory">conf</filename> directory. Class files are searched for 17 class="directory">conf</filename> directory. Class files are searched for
18 in BBPATH in the same was as <filename class="extension">.conf</filename> files too. 18 in BBPATH in the same was as <filename>.conf</filename> files too.
19</para> 19</para>
20 20
21<para> 21<para>
@@ -43,13 +43,13 @@
43 <title>Autotooled Packages - <filename>autotools.bbclass</filename></title> 43 <title>Autotooled Packages - <filename>autotools.bbclass</filename></title>
44 44
45 <para> 45 <para>
46 Autotools (autoconf, automake, libtool) brings standardisation and this 46 Autotools (autoconf, automake, libtool) bring standardization.
47 class aims to define a set of tasks (configure, compile etc.) that will 47 This class defines a set of tasks (configure, compile etc.) that
48 work for all autotooled packages. It should usually be enough to define 48 work for all autotooled packages.
49 a few standard variables as documented in the <link 49 It should usually be enough to define a few standard variables as documented in the
50 linkend='usingpoky-extend-addpkg-autotools'>simple autotools 50 <link linkend='usingpoky-extend-addpkg-autotools'>simple autotools
51 example</link> section and then simply "inherit autotools". This class 51 example</link> section and then simply "inherit autotools".
52 can also work with software that emulates autotools. 52 This class can also work with software that emulates autotools.
53 </para> 53 </para>
54 54
55 <para> 55 <para>
@@ -60,26 +60,29 @@
60 <itemizedlist> 60 <itemizedlist>
61 <listitem> 61 <listitem>
62 <para> 62 <para>
63 'do_configure' regenerates the configure script (using autoreconf) and 63 <filename>do_configure</filename> &dash; regenerates the configure script (using autoreconf)
64 then launches it with a standard set of arguments used during 64 and then launches it with a standard set of arguments used during
65 cross-compilation. Additional parameters can be passed to 65 cross-compilation.
66 <command>configure</command> through the <glossterm><link 66 You can pass additional parameters to
67 linkend='var-EXTRA_OECONF'>EXTRA_OECONF</link></glossterm> variable. 67 <filename>configure</filename> through the
68 <glossterm><link linkend='var-EXTRA_OECONF'>EXTRA_OECONF</link></glossterm> variable.
68 </para> 69 </para>
69 </listitem> 70 </listitem>
70 <listitem> 71 <listitem>
71 <para> 72 <para>
72 'do_compile' runs <command>make</command> with arguments specifying 73 <filename>do_compile</filename> &dash; runs <filename>make</filename> with
73 the compiler and linker. Additional arguments can be passed through 74 arguments that specify the compiler and linker.
75 You can pass additional arguments through
74 the <glossterm><link linkend='var-EXTRA_OEMAKE'>EXTRA_OEMAKE</link> 76 the <glossterm><link linkend='var-EXTRA_OEMAKE'>EXTRA_OEMAKE</link>
75 </glossterm> variable. 77 </glossterm> variable.
76 </para> 78 </para>
77 </listitem> 79 </listitem>
78 <listitem> 80 <listitem>
79 <para> 81 <para>
80 'do_install' runs <command>make install</command> passing a DESTDIR 82 <filename>do_install</filename> &dash; runs <filename>make install</filename>
81 option taking its value from the standard <glossterm><link 83 and passes a <filename>DESTDIR</filename>
82 linkend='var-DESTDIR'>DESTDIR</link></glossterm> variable. 84 option, which takes its value from the standard
85 <glossterm><link linkend='var-DESTDIR'>DESTDIR</link></glossterm> variable.
83 </para> 86 </para>
84 </listitem> 87 </listitem>
85 </itemizedlist> 88 </itemizedlist>