builder: uncomment the settings for BB_NUMBER_THREADS and PARALLEL_MAKE

We use sed to enable the 2 settingis in conf/local.conf.

(From OE-Core rev: eb985d333eb0f13e142da43b4b2b9ec5ad40ff30)

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Dexuan Cui
2012-04-01 21:46:02 +08:00
committed by Richard Purdie
parent 5b9b6a4541
commit ac10ef7cfc
2 changed files with 6 additions and 1 deletions

View 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"

View 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&