]> code.ossystems Code Review - openembedded-core.git/commitdiff
builder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE
authorDexuan Cui <dexuan.cui@intel.com>
Sun, 1 Apr 2012 13:46:02 +0000 (21:46 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 2 Apr 2012 03:26:09 +0000 (04:26 +0100)
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
meta/recipes-graphics/builder/files/builder_hob_start.sh

index 1324e5ba1bd4ae844795369921fdb3590b9158ad..af6ba510bb3353125aed1eda583d6acb1ee0c015 100644 (file)
@@ -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"
 
index f43e6c5e8a7d6f7b6c317314e9b1ba37197dc72c..98b2adbeaeb8ff00b61d216b0a6c46d1db4e47b8 100644 (file)
@@ -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&