From 45205be547967c84dff96403c3a6825a62e3ca6a Mon Sep 17 00:00:00 2001 From: Joshua Watt Date: Fri, 16 Feb 2018 14:30:00 -0600 Subject: utils.py: Fix parallel_make limit parallel_make_argument() was incorrectly taking the maximum of the limit and the calculated value instead of the minimum. Signed-off-by: Joshua Watt Signed-off-by: Ross Burton --- meta/lib/oe/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index ec91927233..80f0442d0a 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -195,7 +195,7 @@ def parallel_make_argument(d, fmt, limit=None): v = parallel_make(d) if v: if limit: - v = max(limit, v) + v = min(limit, v) return fmt % v return '' -- cgit 1.2.3-korg