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