summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/builder
diff options
context:
space:
mode:
authorDexuan Cui <dexuan.cui@intel.com>2012-04-01 21:46:02 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-02 04:26:09 +0100
commiteb985d333eb0f13e142da43b4b2b9ec5ad40ff30 (patch)
treeeae62ea9f45b5aa22c23b51acbd03cd364478a9e /meta/recipes-graphics/builder
parent826918b634deaa2b7201f3068d6f1410c5641d63 (diff)
downloadopenembedded-core-eb985d333eb0f13e142da43b4b2b9ec5ad40ff30.tar.gz
openembedded-core-eb985d333eb0f13e142da43b4b2b9ec5ad40ff30.tar.bz2
openembedded-core-eb985d333eb0f13e142da43b4b2b9ec5ad40ff30.zip
builder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE
We use sed to enable the 2 settingis in conf/local.conf. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Diffstat (limited to 'meta/recipes-graphics/builder')
-rw-r--r--meta/recipes-graphics/builder/builder_0.1.bb2
-rw-r--r--meta/recipes-graphics/builder/files/builder_hob_start.sh5
2 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-graphics/builder/builder_0.1.bb b/meta/recipes-graphics/builder/builder_0.1.bb
index 1324e5ba1b..af6ba510bb 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 f43e6c5e8a..98b2adbeae 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&