diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 8ff0d671d1..d1a31a4bc9 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -4025,6 +4025,15 @@ "", you need to set the variable to specify any required GNU options. + + + PARALLEL_MAKE + and + PARALLEL_MAKEINST + also make use of + EXTRA_OEMAKE to pass the required + flags. + @@ -9259,6 +9268,14 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" where x represents the maximum number of parallel threads make can run. + Caution + In order for PARALLEL_MAKE to be + effective, make must be called + with + ${EXTRA_OEMAKE}. + An easy way to ensure this is to use the + oe_runmake function. + @@ -9305,16 +9322,24 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" task in order to specify parallel installation. This variable defaults to the value of PARALLEL_MAKE. - - If the software being built experiences dependency - issues during the + Notes and Cautions + In order for PARALLEL_MAKEINST + to be + effective, make must be called + with + ${EXTRA_OEMAKE}. + An easy way to ensure this is to use the + oe_runmake function. + + If the software being built experiences + dependency issues during the do_install task that result in race conditions, you can clear the PARALLEL_MAKEINST variable within the recipe as a workaround. For information on addressing race conditions, see the "Debugging Parallel Make Races" - section in the Yocto Project Development Manual. + section in the Yocto Project Development Manual.