diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-16 17:20:09 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2022-12-16 21:07:50 +0100 |
commit | 484092bb16cbf4683313c4adab8571699513a60b (patch) | |
tree | 2184574e1c4c41857afae0f81157ec5634f763c8 /rules/transitions | |
parent | 81d2bf3484f23035a7d919c2c22d0485f13d8857 (diff) | |
parent | 95284ec611a53ca9c7925aad4bbe3f6561de018a (diff) | |
download | rules-cc-484092bb16cbf4683313c4adab8571699513a60b.tar.gz |
Merge commit '95284ec611a53ca9c7925aad4bbe3f6561de018a' into shared-rules
Diffstat (limited to 'rules/transitions')
-rw-r--r-- | rules/transitions/EXPRESSIONS | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/rules/transitions/EXPRESSIONS b/rules/transitions/EXPRESSIONS index 8ea7550..92be685 100644 --- a/rules/transitions/EXPRESSIONS +++ b/rules/transitions/EXPRESSIONS @@ -10,4 +10,20 @@ } } } +, "with fPIC": + { "doc": + [ "Transition that enables BUILD_POSITION_INDEPENDENT if config_field" + , "\"shared\" is not empty." + ] + , "expression": + { "type": "if" + , "cond": {"type": "FIELD", "name": "shared"} + , "then": + { "type": "singleton_map" + , "key": "BUILD_POSITION_INDEPENDENT" + , "value": true + } + , "else": {"type": "empty_map"} + } + } } |