summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/armasm.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-11-17 12:14:04 +0800
committerruki <[email protected]>2021-11-17 12:14:04 +0800
commitdcffc69b622da2048f6ee529f5974cb66cd6dc1a (patch)
treea7accc6ce1eb8784a39429c3ee5114926429dcff /xmake/modules/core/tools/armasm.lua
parent7f3706c2ad219d6632b3be0a4705042ced0d0233 (diff)
add microlib runtime for mdk
Diffstat (limited to 'xmake/modules/core/tools/armasm.lua')
-rw-r--r--xmake/modules/core/tools/armasm.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/armasm.lua b/xmake/modules/core/tools/armasm.lua
index 3065fe0a3..3ae578c55 100644
--- a/xmake/modules/core/tools/armasm.lua
+++ b/xmake/modules/core/tools/armasm.lua
@@ -92,6 +92,13 @@ function nf_language(self, stdname)
end
end
+-- make runtime flag
+function nf_runtime(self, runtime)
+ if runtime == "microlib" then
+ return {"--pd", "__MICROLIB SETA 1"}
+ end
+end
+
-- make the define flag
function nf_define(self, macro)
return {"--pd", macro .. " SETA 1"}