summaryrefslogtreecommitdiff
path: root/tests/projects/embed/gnu-rm/hello/xmake.lua
diff options
context:
space:
mode:
authorJianpeng Peng <[email protected]>2022-10-19 21:16:41 +0800
committerJianpeng Peng <[email protected]>2022-10-19 21:16:41 +0800
commit59e34e811605572a2648c6a3c4eda8a4d1497b89 (patch)
treec0a86abe08d3fbbd63abce918cd1028c24396f46 /tests/projects/embed/gnu-rm/hello/xmake.lua
parentfa425b0c71e333276f94fa11f216b23a2de5a23b (diff)
Add requires for xmake.lua in gnu-rm test project.
Diffstat (limited to 'tests/projects/embed/gnu-rm/hello/xmake.lua')
-rw-r--r--tests/projects/embed/gnu-rm/hello/xmake.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/projects/embed/gnu-rm/hello/xmake.lua b/tests/projects/embed/gnu-rm/hello/xmake.lua
index 92c4b0144..98cbfe405 100644
--- a/tests/projects/embed/gnu-rm/hello/xmake.lua
+++ b/tests/projects/embed/gnu-rm/hello/xmake.lua
@@ -1,7 +1,8 @@
-set_toolchains("gnu-rm")
-
add_rules("mode.debug", "mode.release")
+add_requires("gnu-rm")
+set_toolchains("@gnu-rm")
+
target("foo")
add_rules("gnu-rm.static")
add_files("src/foo/*.c")
@@ -9,7 +10,6 @@ target("foo")
target("hello")
add_deps("foo")
add_rules("gnu-rm.binary")
- set_kind("binary")
add_files("src/*.c", "src/*.s")
add_files("src/*.ld")
add_includedirs("src/lib/cmsis")