summaryrefslogtreecommitdiff
path: root/tests/actions/addon/custom-toolchain/addon.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tests/actions/addon/custom-toolchain/addon.lua')
-rw-r--r--tests/actions/addon/custom-toolchain/addon.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/actions/addon/custom-toolchain/addon.lua b/tests/actions/addon/custom-toolchain/addon.lua
new file mode 100644
index 000000000..8537b3272
--- /dev/null
+++ b/tests/actions/addon/custom-toolchain/addon.lua
@@ -0,0 +1,6 @@
+addon("custom-toolchain")
+ set_description("the addon which provides a custom toolchain")
+ set_sourcedir("src")
+ -- the tool modules are imported with their plain names by the internal calls,
+ -- e.g. find_tool("mycl6x"), import("core.tools.mycl6x")
+ add_globalmodules("core.tools.mycl6x", "detect.tools.find_mycl6x")