Patchwork [4/5] builder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE

login
register
mail settings
Submitter Dexuan Cui
Date April 1, 2012, 4:10 p.m.
Message ID <aa1db70b9409f1a12b197e4ebb77ef2be200247e.1333295123.git.dexuan.cui@intel.com>
Download mbox | patch
Permalink /patch/25047/
State Accepted
Commit eb985d333eb0f13e142da43b4b2b9ec5ad40ff30
Headers show

Comments

Dexuan Cui - April 1, 2012, 4:10 p.m.
We use sed to enable the 2 settingis in conf/local.conf.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
---
 meta/recipes-graphics/builder/builder_0.1.bb       |    2 +-
 .../builder/files/builder_hob_start.sh             |    5 +++++
 2 files changed, 6 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
index 1324e5b..af6ba51 100644
--- a/meta/recipes-graphics/builder/builder_0.1.bb
+++ b/meta/recipes-graphics/builder/builder_0.1.bb
@@ -1,7 +1,7 @@ 
 SUMMARY = "New user to do specific job"
 DESCRIPTION = "This recipe create a new user named ${PN}, who is used for specific jobs like building. The task can be auto started via mini X"
 SECTION = "x11"
-PR = "r1"
+PR = "r2"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://builder_hob_start.sh;endline=5;md5=84796c3c41785d86100fdabcbdade00e"
 
diff --git a/meta/recipes-graphics/builder/files/builder_hob_start.sh b/meta/recipes-graphics/builder/files/builder_hob_start.sh
index f43e6c5..98b2adb 100644
--- a/meta/recipes-graphics/builder/files/builder_hob_start.sh
+++ b/meta/recipes-graphics/builder/files/builder_hob_start.sh
@@ -10,6 +10,11 @@  export PSEUDO_LIBDIR=/usr/lib/pseudo/lib64
 
 cd /home/builder/poky
 . ./oe-init-build-env
+
+#uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE
+sed -i 's/^#BB_NUMBER_THREADS =/BB_NUMBER_THREADS =/g' conf/local.conf
+sed -i 's/^#PARALLEL_MAKE =/PARALLEL_MAKE =/g' conf/local.conf
+
 hob &
 
 matchbox-terminal&