[meta-freescale] [meta-fsl-arm][PATCH] setup-environment: remove autoprobing for cpu counts
Tzu-Jung Lee
roylee17 at gmail.com
Mon Oct 19 15:08:52 PDT 2015
Poky added support for the probing since Dizzy [YOCTO #6217]
Signed-off-by: Tzu-Jung Lee <roylee17 at currantlabs.com>
diff --git a/setup-environment b/setup-environment
index 436a932..018a0f0 100755
--- a/setup-environment
+++ b/setup-environment
@@ -20,7 +20,6 @@
# Add options for the script
# Copyright (C) 2013 Freescale Semiconductor, Inc.
-NCPU=`grep -c processor /proc/cpuinfo`
CWD=`pwd`
PROGNAME="setup-environment"
@@ -47,7 +46,7 @@ MACHINE=<machine> source $PROGNAME <build-dir>
clean_up()
{
unset EULA LIST_MACHINES VALID_MACHINE
- unset NCPU CWD TEMPLATES SHORTOPTS LONGOPTS ARGS PROGNAME
+ unset CWD TEMPLATES SHORTOPTS LONGOPTS ARGS PROGNAME
unset generated_config updated
unset MACHINE SDKMACHINE DISTRO OEROOT
}
@@ -155,9 +154,6 @@ if [ ! -e conf/local.conf.sample ]; then
grep -v '^#\|^$' conf/local.conf.sample > conf/local.conf
cat >> conf/local.conf <<EOF
-BB_NUMBER_THREADS = '$NCPU'
-PARALLEL_MAKE = '-j $NCPU'
-
DL_DIR ?= "\${BSPDIR}/downloads/"
EOF
# Change settings according environment
--
2.6.2
More information about the meta-freescale
mailing list