diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2023-05-31 18:40:16 +0200 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2023-05-31 18:40:16 +0200 |
commit | 99af2e8c7075cf3a62826abdfd32aab3484a45b5 (patch) | |
tree | a78ec5c56f7c249d1af8ecc08fa777e57bb28380 /rules/CC/foreign | |
parent | a18f03d54cd610b658ade301d1050cfa04eb5fa8 (diff) | |
parent | 4d6425c936d51ce31f3e45b70b401de6e7e20e4e (diff) | |
download | rules-cc-99af2e8c7075cf3a62826abdfd32aab3484a45b5.tar.gz |
Merge subtree 'rules' into rules-cc
Diffstat (limited to 'rules/CC/foreign')
-rw-r--r-- | rules/CC/foreign/make/EXPRESSIONS | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/rules/CC/foreign/make/EXPRESSIONS b/rules/CC/foreign/make/EXPRESSIONS index df2f98f..0f20da5 100644 --- a/rules/CC/foreign/make/EXPRESSIONS +++ b/rules/CC/foreign/make/EXPRESSIONS @@ -339,14 +339,17 @@ , "else": ["DESTDIR"] } , {"type": "var", "name": "make_options"} - , [ { "type": "join" - , "$1": - { "type": "++" + , { "type": "if" + , "cond": {"type": "var", "name": "make_jobs"} + , "then": + [ { "type": "join" , "$1": - [["-j"], {"type": "var", "name": "make_jobs", "default": []}] + { "type": "++" + , "$1": [["-j"], {"type": "var", "name": "make_jobs"}] + } } - } - ] + ] + } ] } , "out_dirs": ["install"] |