diff options
Diffstat (limited to 'documentation/poky-ref-manual/ref-classes.xml')
-rw-r--r-- | documentation/poky-ref-manual/ref-classes.xml | 39 |
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> ‐ 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> ‐ 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> ‐ 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> |