mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
config/options, config/path: add initial support to do parallel builds
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
3ca3f78c03
commit
9ffa8c0c84
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user