summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2011-04-04 16:20:58 -0500
committerSaul Wold <sgw@linux.intel.com>2011-05-06 17:44:18 -0700
commit98820f5b74a9cfe306037ff69fd05213ae3fc8ec (patch)
tree90c9fd6470cb306561dca304fcc2095ca1cd3125 /documentation
parente8486ec9308dfaadafbb5f37a0ec0285a732b3cb (diff)
downloadpoky-98820f5b74a9cfe306037ff69fd05213ae3fc8ec.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')
-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 40a5569f3c..64cff65426 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>
@@ -44,13 +44,13 @@
44 <title>Autotooled Packages - <filename>autotools.bbclass</filename></title> 44 <title>Autotooled Packages - <filename>autotools.bbclass</filename></title>
45 45
46 <para> 46 <para>
47 Autotools (autoconf, automake, libtool) brings standardisation and this 47 Autotools (autoconf, automake, libtool) bring standardization.
48 class aims to define a set of tasks (configure, compile etc.) that will 48 This class defines a set of tasks (configure, compile etc.) that
49 work for all autotooled packages. It should usually be enough to define 49 work for all autotooled packages.
50 a few standard variables as documented in the <link 50 It should usually be enough to define a few standard variables as documented in the
51 linkend='usingpoky-extend-addpkg-autotools'>simple autotools 51 <link linkend='usingpoky-extend-addpkg-autotools'>simple autotools
52 example</link> section and then simply "inherit autotools". This class 52 example</link> section and then simply "inherit autotools".
53 can also work with software that emulates autotools. 53 This class can also work with software that emulates autotools.
54 </para> 54 </para>
55 55
56 <para> 56 <para>
@@ -61,26 +61,29 @@
61 <itemizedlist> 61 <itemizedlist>
62 <listitem> 62 <listitem>
63 <para> 63 <para>
64 'do_configure' regenerates the configure script (using autoreconf) and 64 <filename>do_configure</filename> &dash; regenerates the configure script (using autoreconf)
65 then launches it with a standard set of arguments used during 65 and then launches it with a standard set of arguments used during
66 cross-compilation. Additional parameters can be passed to 66 cross-compilation.
67 <command>configure</command> through the <glossterm><link 67 You can pass additional parameters to
68 linkend='var-EXTRA_OECONF'>EXTRA_OECONF</link></glossterm> variable. 68 <filename>configure</filename> through the
69 <glossterm><link linkend='var-EXTRA_OECONF'>EXTRA_OECONF</link></glossterm> variable.
69 </para> 70 </para>
70 </listitem> 71 </listitem>
71 <listitem> 72 <listitem>
72 <para> 73 <para>
73 'do_compile' runs <command>make</command> with arguments specifying 74 <filename>do_compile</filename> &dash; runs <filename>make</filename> with
74 the compiler and linker. Additional arguments can be passed through 75 arguments that specify the compiler and linker.
76 You can pass additional arguments through
75 the <glossterm><link linkend='var-EXTRA_OEMAKE'>EXTRA_OEMAKE</link> 77 the <glossterm><link linkend='var-EXTRA_OEMAKE'>EXTRA_OEMAKE</link>
76 </glossterm> variable. 78 </glossterm> variable.
77 </para> 79 </para>
78 </listitem> 80 </listitem>
79 <listitem> 81 <listitem>
80 <para> 82 <para>
81 'do_install' runs <command>make install</command> passing a DESTDIR 83 <filename>do_install</filename> &dash; runs <filename>make install</filename>
82 option taking its value from the standard <glossterm><link 84 and passes a <filename>DESTDIR</filename>
83 linkend='var-DESTDIR'>DESTDIR</link></glossterm> variable. 85 option, which takes its value from the standard
86 <glossterm><link linkend='var-DESTDIR'>DESTDIR</link></glossterm> variable.
84 </para> 87 </para>
85 </listitem> 88 </listitem>
86 </itemizedlist> 89 </itemizedlist>