summaryrefslogtreecommitdiff
path: root/.ci/site.exp
diff options
context:
space:
mode:
Diffstat (limited to '.ci/site.exp')
-rw-r--r--.ci/site.exp26
1 files changed, 26 insertions, 0 deletions
diff --git a/.ci/site.exp b/.ci/site.exp
new file mode 100644
index 0000000..79fcc23
--- /dev/null
+++ b/.ci/site.exp
@@ -0,0 +1,26 @@
+# Copyright (C) 2008, 2010, 2018, 2019, 2021 Anthony Green
+
+# Make sure we look in the right place for the board description files.
+if ![info exists boards_dir] {
+ set boards_dir {}
+}
+
+lappend boards_dir $::env(RUNNER_WORKSPACE)/libffi/.ci
+
+verbose "Global Config File: target_triplet is $target_triplet" 2
+global target_list
+
+case "$target_triplet" in {
+ { "bfin-elf" } {
+ set target_list "bfin-sim"
+ }
+ { "m32r-elf" } {
+ set target_list "m32r-sim"
+ }
+ { "moxie-elf" } {
+ set target_list "moxie-sim"
+ }
+ { "or1k-elf" } {
+ set target_list "or1k-sim"
+ }
+}