summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xoe-layertool-setup.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/oe-layertool-setup.sh b/oe-layertool-setup.sh
index e404290..1ea31c3 100755
--- a/oe-layertool-setup.sh
+++ b/oe-layertool-setup.sh
@@ -770,9 +770,8 @@ EOM
770 770
771 # set the number of threads 771 # set the number of threads
772 threads=`cat /proc/cpuinfo | grep -c processor` 772 threads=`cat /proc/cpuinfo | grep -c processor`
773 tnum=`expr \( ${threads} + 1 \) \* 75 / 100` 773 sed -i "s/^PARALLEL_MAKE.*/PARALLEL_MAKE ?= \"-j ${threads}\"/" $confdir/local.conf
774 sed -i "s/^PARALLEL_MAKE.*/PARALLEL_MAKE ?= \"-j ${tnum}\"/" $confdir/local.conf 774 sed -i "s/^BB_NUMBER_THREADS.*/BB_NUMBER_THREADS ?= \"${threads}\"/" $confdir/local.conf
775 sed -i "s/^BB_NUMBER_THREADS.*/BB_NUMBER_THREADS ?= \"${tnum}\"/" $confdir/local.conf
776 775
777 # Find if old DL_DIR was set 776 # Find if old DL_DIR was set
778 if [ -e $confdir/local.conf.bak ] 777 if [ -e $confdir/local.conf.bak ]