diff options
| author | ruki <[email protected]> | 2021-11-17 12:14:04 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-11-17 12:14:04 +0800 |
| commit | dcffc69b622da2048f6ee529f5974cb66cd6dc1a (patch) | |
| tree | a7accc6ce1eb8784a39429c3ee5114926429dcff /xmake/modules/core/tools/armlink.lua | |
| parent | 7f3706c2ad219d6632b3be0a4705042ced0d0233 (diff) | |
add microlib runtime for mdk
Diffstat (limited to 'xmake/modules/core/tools/armlink.lua')
| -rw-r--r-- | xmake/modules/core/tools/armlink.lua | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/armlink.lua b/xmake/modules/core/tools/armlink.lua index 02c2b4800..e25a81967 100644 --- a/xmake/modules/core/tools/armlink.lua +++ b/xmake/modules/core/tools/armlink.lua @@ -41,6 +41,13 @@ function nf_linkdir(self, dir) return {"--userlibpath", dir} end +-- make runtime flag +function nf_runtime(self, runtime) + if runtime == "microlib" then + return "--library_type=microlib" + end +end + -- make the link arguments list function linkargv(self, objectfiles, targetkind, targetfile, flags) return self:program(), table.join("-o", targetfile, objectfiles, flags) |
