From 63989c25ec3daf342e8d7731b252dac02cfe6f79 Mon Sep 17 00:00:00 2001 From: Zdenek Behan Date: Mon, 12 Mar 2012 18:38:39 +0100 Subject: [PATCH] make_conf_util: initialize make.conf with the real number of CPUs BUG=none TEST=cros_sdk --bootstrap, check out make.conf.host_setup Change-Id: Icca34d4185869092f281de6b53929377c1410f5e Reviewed-on: https://gerrit.chromium.org/gerrit/17845 Reviewed-by: David James Commit-Ready: Zdenek Behan Tested-by: Zdenek Behan --- sdk_lib/make_conf_util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk_lib/make_conf_util.sh b/sdk_lib/make_conf_util.sh index ecc60c615e..5fd6e72ec8 100644 --- a/sdk_lib/make_conf_util.sh +++ b/sdk_lib/make_conf_util.sh @@ -85,7 +85,7 @@ _create_host_setup() { _make_conf_fetchcommand "$fetchtype" _make_conf_private _make_conf_prebuilt - echo 'MAKEOPTS="-j16"' ) | sudo_clobber "$host_setup" + echo 'MAKEOPTS="-j'${NUM_JOBS}'"' ) | sudo_clobber "$host_setup" sudo chmod 644 "$host_setup" }