summaryrefslogtreecommitdiff
path: root/transitions
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2022-02-22 17:03:21 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2022-02-22 17:03:21 +0100
commit86c4f55b6f578bfae74ab35151c1e4425b7e1fd1 (patch)
treea0eb1319d6449726f345b7c2f237c3fbffa71096 /transitions
downloadrules-cc-86c4f55b6f578bfae74ab35151c1e4425b7e1fd1.tar.gz
Initial self-hosting commit
This is the initial version of our tool that is able to build itself. In can be bootstrapped by ./bin/bootstrap.py Co-authored-by: Oliver Reiche <oliver.reiche@huawei.com> Co-authored-by: Victor Moreno <victor.moreno1@huawei.com>
Diffstat (limited to 'transitions')
-rw-r--r--transitions/EXPRESSIONS13
1 files changed, 13 insertions, 0 deletions
diff --git a/transitions/EXPRESSIONS b/transitions/EXPRESSIONS
new file mode 100644
index 0000000..8ea7550
--- /dev/null
+++ b/transitions/EXPRESSIONS
@@ -0,0 +1,13 @@
+{ "for host":
+ { "vars": ["ARCH", "HOST_ARCH"]
+ , "expression":
+ { "type": "singleton_map"
+ , "key": "TARGET_ARCH"
+ , "value":
+ { "type": "var"
+ , "name": "HOST_ARCH"
+ , "default": {"type": "var", "name": "ARCH"}
+ }
+ }
+ }
+}