diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2013-09-23 10:21:59 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-01 22:52:52 +0100 |
commit | 0f902628faf203e7a40748aac622b24c31685c25 (patch) | |
tree | 3f50d4a5f8f0d8ebc31175cab0c404def7b4e6eb /documentation/ref-manual | |
parent | 45ace75bbf37b358a8c9ffc3398a93b374dc8c03 (diff) | |
download | poky-0f902628faf203e7a40748aac622b24c31685c25.tar.gz |
ref-manual: Edits to PARALLEL_MAKE variable.
Added a note indicating that the variable might be cleared out
if there are problems running Make.
(From yocto-docs rev: 861921b86c48de2267ccd32ab3f3424a98eb8ed1)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 5f82602f1d..1f49351f6e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -3751,14 +3751,24 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" | |||
3751 | 3751 | ||
3752 | <glossentry id='var-PARALLEL_MAKE'><glossterm>PARALLEL_MAKE</glossterm> | 3752 | <glossentry id='var-PARALLEL_MAKE'><glossterm>PARALLEL_MAKE</glossterm> |
3753 | <glossdef> | 3753 | <glossdef> |
3754 | <para>Extra options that are passed to the | 3754 | <para> |
3755 | Extra options that are passed to the | ||
3755 | <filename>make</filename> command during the | 3756 | <filename>make</filename> command during the |
3756 | <filename>do_compile</filename> task in order to specify | 3757 | <filename>do_compile</filename> task in order to specify |
3757 | parallel compilation. | 3758 | parallel compilation. |
3758 | This variable is usually in the form <filename>-j 4</filename>, where the number | 3759 | This variable is usually in the form |
3759 | represents the maximum number of parallel threads make can run. | 3760 | <filename>-j 4</filename>, where the number |
3760 | If you development host supports multiple cores a good rule of thumb is to set | 3761 | represents the maximum number of parallel threads make can |
3761 | this variable to twice the number of cores on the host.</para> | 3762 | run. |
3763 | If you development host supports multiple cores a good | ||
3764 | rule of thumb is to set this variable to twice the number | ||
3765 | of cores on the host. | ||
3766 | <note> | ||
3767 | Individual recipes might clear out this variable if | ||
3768 | the software being built has problems running its | ||
3769 | <filename>make</filename> process in parallel. | ||
3770 | </note> | ||
3771 | </para> | ||
3762 | </glossdef> | 3772 | </glossdef> |
3763 | </glossentry> | 3773 | </glossentry> |
3764 | 3774 | ||