summaryrefslogtreecommitdiff
path: root/CC/foreign/shell/RULES
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2024-09-26 12:02:56 +0200
committerKlaus Aehlig <klaus.aehlig@huawei.com>2024-09-27 12:14:11 +0200
commit194d1f0197b2ec99d5dc4d9f623fdb2e7bac7327 (patch)
tree031612743c05635743089f4b76a6e006a5c94c38 /CC/foreign/shell/RULES
parent38927e66d384c5fc639dba6d586d50a1ba746163 (diff)
downloadrules-cc-194d1f0197b2ec99d5dc4d9f623fdb2e7bac7327.tar.gz
Do not expand variables in PATH
... as otherwise we will use the same string in two ways: literal and as a value to the expanded, making proper quoting impossible. Moreover, it is not necessary to expand TOOLCHAIN: pointers into the toolchain can be passed through the "bin dirs" part of the toolchain.
Diffstat (limited to 'CC/foreign/shell/RULES')
-rw-r--r--CC/foreign/shell/RULES24
1 files changed, 0 insertions, 24 deletions
diff --git a/CC/foreign/shell/RULES b/CC/foreign/shell/RULES
index 6a5d8ec..ed96aa3 100644
--- a/CC/foreign/shell/RULES
+++ b/CC/foreign/shell/RULES
@@ -30,7 +30,6 @@
{ "defaults": [["CC", "defaults"]]
, "foreign-defaults": [["CC/foreign", "defaults"]]
, "shell defaults": [["shell", "defaults"]]
- , "expand_exec": [["./", "..", "expand_exec"]]
}
, "field_doc":
{ "project":
@@ -125,7 +124,6 @@
, "config_transitions":
{ "defaults":
[{"type": "empty_map"}, {"type": "CALL_EXPRESSION", "name": "for host"}]
- , "expand_exec": [{"type": "CALL_EXPRESSION", "name": "for host"}]
}
, "expression":
{ "type": "let*"
@@ -186,16 +184,6 @@
}
}
]
- , [ "expand_exec"
- , { "type": "let*"
- , "bindings":
- [ ["fieldname", "expand_exec"]
- , ["location", "expand_exec"]
- , ["transition", {"type": "CALL_EXPRESSION", "name": "for host"}]
- ]
- , "body": {"type": "CALL_EXPRESSION", "name": "stage_field"}
- }
- ]
, ["resolve_symlinks", {"type": "FIELD", "name": "resolve_symlinks"}]
, ["artifacts", {"type": "CALL_EXPRESSION", "name": "shell-build"}]
]
@@ -271,7 +259,6 @@
, "foreign-defaults": [["CC/foreign", "defaults"]]
, "shell defaults": [["shell", "defaults"]]
, "config_reader": [["CC", "prebuilt/read_pkgconfig.py"]]
- , "expand_exec": [["./", "..", "expand_exec"]]
}
, "field_doc":
{ "project":
@@ -419,7 +406,6 @@
, "config_transitions":
{ "defaults":
[{"type": "empty_map"}, {"type": "CALL_EXPRESSION", "name": "for host"}]
- , "expand_exec": [{"type": "CALL_EXPRESSION", "name": "for host"}]
}
, "expression":
{ "type": "let*"
@@ -555,16 +541,6 @@
, ["cmds", {"type": "FIELD", "name": "cmds"}]
, ["resolve_symlinks", {"type": "FIELD", "name": "resolve_symlinks"}]
, ["defaults-transition", {"type": "empty_map"}]
- , [ "expand_exec"
- , { "type": "let*"
- , "bindings":
- [ ["fieldname", "expand_exec"]
- , ["location", "expand_exec"]
- , ["transition", {"type": "CALL_EXPRESSION", "name": "for host"}]
- ]
- , "body": {"type": "CALL_EXPRESSION", "name": "stage_field"}
- }
- ]
, ["install_dir", {"type": "CALL_EXPRESSION", "name": "shell-build"}]
, [ "hdrs"
, { "type": "++"