mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
Merge pull request #4995 from antonlacon/le10-build-minors
buildsystem: minors
This commit is contained in:
commit
15d63b18e2
@ -76,7 +76,7 @@ VERBOSE="${VERBOSE:-yes}"
|
|||||||
# Try values between 1 and number of processor cores present.
|
# Try values between 1 and number of processor cores present.
|
||||||
# default: use all cores
|
# default: use all cores
|
||||||
[ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(nproc)
|
[ -z "${CONCURRENCY_MAKE_LEVEL}" ] && export CONCURRENCY_MAKE_LEVEL=$(nproc)
|
||||||
[ -z "${CONCURRENCY_LOAD}" ] && export CONCURRENCY_LOAD=$(python3 -c "import os; print('%.2f' % (os.cpu_count() * 1.5))")
|
[ -z "${CONCURRENCY_LOAD}" ] && export CONCURRENCY_LOAD=$(python3 -c "import os; print(f'{os.cpu_count() * 1.5:.2f}')")
|
||||||
|
|
||||||
# cache size for ccache
|
# cache size for ccache
|
||||||
# Set the maximum size of the files stored in the cache. You can specify a
|
# Set the maximum size of the files stored in the cache. You can specify a
|
||||||
|
@ -64,7 +64,7 @@ XORG_PATH_DRIVERS=/usr/lib/xorg/modules/drivers
|
|||||||
# use ARM toolchain on 64/32 split builds
|
# use ARM toolchain on 64/32 split builds
|
||||||
if [ -z "$KERNEL_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
|
if [ -z "$KERNEL_TOOLCHAIN" -a "$TARGET_KERNEL_ARCH" = "arm64" -a "$TARGET_ARCH" = "arm" ]; then
|
||||||
if [ "${MACHINE_HARDWARE_NAME}" = "x86_64" ]; then
|
if [ "${MACHINE_HARDWARE_NAME}" = "x86_64" ]; then
|
||||||
KERNEL_TOOLCHAIN="aarch64-none-linux-gnu"
|
KERNEL_TOOLCHAIN="aarch64-none-linux-gnu"
|
||||||
elif [ "${MACHINE_HARDWARE_NAME}" = "aarch64" ]; then
|
elif [ "${MACHINE_HARDWARE_NAME}" = "aarch64" ]; then
|
||||||
KERNEL_TOOLCHAIN="aarch64-none-elf"
|
KERNEL_TOOLCHAIN="aarch64-none-elf"
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user