diff options
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 131ba296d3..4b544a22cd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -795,7 +795,10 @@ BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}" | |||
795 | PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" | 795 | PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}" |
796 | 796 | ||
797 | # Default parallelism and resource usage for xz | 797 | # Default parallelism and resource usage for xz |
798 | XZ_DEFAULTS ?= "--memlimit=50% --threads=${@oe.utils.cpu_count(at_least=2)}" | 798 | XZ_MEMLIMIT ?= "50%" |
799 | XZ_THREADS ?= "${@oe.utils.cpu_count(at_least=2)}" | ||
800 | XZ_DEFAULTS ?= "--memlimit=${XZ_MEMLIMIT} --threads=${XZ_THREADS}" | ||
801 | XZ_DEFAULTS[vardepsexclude] += "XZ_MEMLIMIT XZ_THREADS" | ||
799 | 802 | ||
800 | ################################################################## | 803 | ################################################################## |
801 | # Magic Cookie for SANITY CHECK | 804 | # Magic Cookie for SANITY CHECK |