summaryrefslogtreecommitdiffstats
path: root/documentation/dev-manual
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/dev-manual')
-rw-r--r--documentation/dev-manual/dev-manual-common-tasks.xml26
1 files changed, 23 insertions, 3 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml
index 0dddb8b3bb..00741ee456 100644
--- a/documentation/dev-manual/dev-manual-common-tasks.xml
+++ b/documentation/dev-manual/dev-manual-common-tasks.xml
@@ -2349,7 +2349,7 @@
2349 Most software provides some means of setting build-time 2349 Most software provides some means of setting build-time
2350 configuration options before compilation. 2350 configuration options before compilation.
2351 Typically, setting these options is accomplished by running a 2351 Typically, setting these options is accomplished by running a
2352 configure script with some options, or by modifying a build 2352 configure script with options, or by modifying a build
2353 configuration file. 2353 configuration file.
2354 <note> 2354 <note>
2355 As of Yocto Project Release 1.7, some of the core recipes 2355 As of Yocto Project Release 1.7, some of the core recipes
@@ -2389,6 +2389,7 @@
2389 software is built using Autotools. 2389 software is built using Autotools.
2390 If this is the case, you just need to worry about 2390 If this is the case, you just need to worry about
2391 modifying the configuration.</para> 2391 modifying the configuration.</para>
2392
2392 <para>When using Autotools, your recipe needs to inherit 2393 <para>When using Autotools, your recipe needs to inherit
2393 the 2394 the
2394 <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink> 2395 <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-autotools'><filename>autotools</filename></ulink>
@@ -2401,13 +2402,15 @@
2401 or 2402 or
2402 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGECONFIG_CONFARGS'><filename>PACKAGECONFIG_CONFARGS</filename></ulink> 2403 <ulink url='&YOCTO_DOCS_REF_URL;#var-PACKAGECONFIG_CONFARGS'><filename>PACKAGECONFIG_CONFARGS</filename></ulink>
2403 to pass any needed configure options that are specific 2404 to pass any needed configure options that are specific
2404 to the recipe.</para></listitem> 2405 to the recipe.
2406 </para></listitem>
2405 <listitem><para><emphasis>CMake:</emphasis> 2407 <listitem><para><emphasis>CMake:</emphasis>
2406 If your source files have a 2408 If your source files have a
2407 <filename>CMakeLists.txt</filename> file, then your 2409 <filename>CMakeLists.txt</filename> file, then your
2408 software is built using CMake. 2410 software is built using CMake.
2409 If this is the case, you just need to worry about 2411 If this is the case, you just need to worry about
2410 modifying the configuration.</para> 2412 modifying the configuration.</para>
2413
2411 <para>When you use CMake, your recipe needs to inherit 2414 <para>When you use CMake, your recipe needs to inherit
2412 the 2415 the
2413 <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-cmake'><filename>cmake</filename></ulink> 2416 <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-cmake'><filename>cmake</filename></ulink>
@@ -2417,7 +2420,16 @@
2417 You can make some adjustments by setting 2420 You can make some adjustments by setting
2418 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OECMAKE'><filename>EXTRA_OECMAKE</filename></ulink> 2421 <ulink url='&YOCTO_DOCS_REF_URL;#var-EXTRA_OECMAKE'><filename>EXTRA_OECMAKE</filename></ulink>
2419 to pass any needed configure options that are specific 2422 to pass any needed configure options that are specific
2420 to the recipe.</para></listitem> 2423 to the recipe.
2424 <note>
2425 If you need to install one or more custom CMake
2426 toolchain files that are supplied by the
2427 application you are building, install the files to
2428 <filename>${D}${datadir}/cmake/</filename> Modules
2429 during
2430 <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink>.
2431 </note>
2432 </para></listitem>
2421 <listitem><para><emphasis>Other:</emphasis> 2433 <listitem><para><emphasis>Other:</emphasis>
2422 If your source files do not have a 2434 If your source files do not have a
2423 <filename>configure.ac</filename> or 2435 <filename>configure.ac</filename> or
@@ -2780,6 +2792,14 @@
2780 <ulink url='&YOCTO_DOCS_REF_URL;#var-PARALLEL_MAKEINST'><filename>PARALLEL_MAKEINST</filename></ulink> 2792 <ulink url='&YOCTO_DOCS_REF_URL;#var-PARALLEL_MAKEINST'><filename>PARALLEL_MAKEINST</filename></ulink>
2781 for additional information. 2793 for additional information.
2782 </para></listitem> 2794 </para></listitem>
2795 <listitem><para>
2796 If you need to install one or more custom CMake
2797 toolchain files that are supplied by the
2798 application you are building, install the files to
2799 <filename>${D}${datadir}/cmake/</filename> Modules
2800 during
2801 <ulink url='&YOCTO_DOCS_REF_URL;#ref-tasks-install'><filename>do_install</filename></ulink>.
2802 </para></listitem>
2783 </itemizedlist> 2803 </itemizedlist>
2784 </note> 2804 </note>
2785 </section> 2805 </section>