Merge pull request #40 from marineam/load

fix(scripts): Add --load-average to MAKEOPTS
This commit is contained in:
Michael Marineau 2013-07-17 18:56:17 -07:00
commit cc056d0527
2 changed files with 3 additions and 2 deletions

View File

@ -87,7 +87,8 @@ _create_host_setup() {
_make_conf_fetchcommand "$fetchtype"
_make_conf_private "$fetchtype"
_make_conf_prebuilt
echo 'MAKEOPTS="-j'${NUM_JOBS}'"' ) | sudo_clobber "$host_setup"
echo "MAKEOPTS='--jobs=${NUM_JOBS} --load-average=${NUM_JOBS}'"
) | sudo_clobber "$host_setup"
sudo chmod 644 "$host_setup"
}

View File

@ -300,7 +300,7 @@ sudo_clobber "${BOARD_SETUP}" <<EOF
CHOST="${FLAGS_toolchain}"
ROOT="${BOARD_ROOT}/"
BOARD_OVERLAY="${BOARD_OVERLAY_LIST}"
MAKEOPTS="-j${NUM_JOBS}"
MAKEOPTS="--jobs=${NUM_JOBS} --load-average=${NUM_JOBS}"
PKG_CONFIG="pkg-config-${BOARD_VARIANT}"
BOARD_USE="${BOARD_VARIANT}"
${SAVED_VERSION}