diff --git a/config/options b/config/options index 7f2cecee06..a4eb60b2cc 100644 --- a/config/options +++ b/config/options @@ -55,7 +55,7 @@ fi # Concurrency make level (-j option) # Try value 1 (default) to 4 on single CPU computer, or more on # multi-processor computer (like hyperthreading SMP CPU) - CONCURRENCY_MAKE_LEVEL=1 + CONCURRENCY_MAKE_LEVEL=`cat /proc/cpuinfo | grep -c '^processor[[:cntrl:]]*:'` # set jpeg library depending on ARCH if [ "$TARGET_ARCH" = "i386" -o "$TARGET_ARCH" = "x86_64" ]; then diff --git a/config/path b/config/path index 5305321bb8..1002207575 100644 --- a/config/path +++ b/config/path @@ -67,7 +67,7 @@ elif [ -x $BUILD/configtools/config.guess ]; then fi MAKE="$ROOT/$TOOLCHAIN/bin/make" -MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make DESTDIR=$SYSROOT_PREFIX install" +MAKEINSTALL="$ROOT/$TOOLCHAIN/bin/make -j1 DESTDIR=$SYSROOT_PREFIX install" SED="sed -i" # set package metadata