summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/bl51.lua
diff options
context:
space:
mode:
authorDawnManget <[email protected]>2022-05-10 10:45:43 +0800
committerDawnManget <[email protected]>2022-05-10 10:45:43 +0800
commit8d0fb42d11874dd59bac82b45d1ca81e0df01780 (patch)
treefd0e8c7db3ee43fc434fe089cf56f0eeed261fa6 /xmake/modules/core/tools/bl51.lua
parenta0a57a74cc301468d21f11cd5d78a272cce561b5 (diff)
review: add keil-c51 toolchain & rules
Diffstat (limited to 'xmake/modules/core/tools/bl51.lua')
-rw-r--r--xmake/modules/core/tools/bl51.lua24
1 files changed, 1 insertions, 23 deletions
diff --git a/xmake/modules/core/tools/bl51.lua b/xmake/modules/core/tools/bl51.lua
index 3b49bf0e3..70c04385b 100644
--- a/xmake/modules/core/tools/bl51.lua
+++ b/xmake/modules/core/tools/bl51.lua
@@ -25,29 +25,7 @@ import("utils.progress")
function init(self)
end
---
----- make the link flag
---function nf_link(self, lib)
--- return "lib" .. lib .. ".a"
---end
---
----- make the syslink flag
---function nf_syslink(self, lib)
--- return nf_link(self, lib)
---end
---
----- make the linkdir flag
---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(objectfiles, "TO", targetfile)