summaryrefslogtreecommitdiff
path: root/xmake/modules/core/tools/iarchive.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-01-26 14:11:01 +0800
committerGitHub <[email protected]>2025-01-26 14:11:01 +0800
commitedefe4e26c531837ae7c5f510d7da8f290719c47 (patch)
tree3be03c0230697570d931c676fa1e86c4fea1a1fb /xmake/modules/core/tools/iarchive.lua
parent5a1d37221759ded832e0401928057d2ea18b57a8 (diff)
parentf2ddfaf623ccdc96d5c81f788fa6aa82e3a45ccd (diff)
Merge pull request #6116 from xmake-io/iar
Add support for IAR ARM embedded toolchain
Diffstat (limited to 'xmake/modules/core/tools/iarchive.lua')
-rw-r--r--xmake/modules/core/tools/iarchive.lua25
1 files changed, 25 insertions, 0 deletions
diff --git a/xmake/modules/core/tools/iarchive.lua b/xmake/modules/core/tools/iarchive.lua
new file mode 100644
index 000000000..2813650f9
--- /dev/null
+++ b/xmake/modules/core/tools/iarchive.lua
@@ -0,0 +1,25 @@
+--!A cross-platform build utility based on Lua
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+--
+-- Copyright (C) 2015-present, TBOOX Open Source Group.
+--
+-- @author ruki
+-- @file iarchive.lua
+--
+
+inherit("ar")
+
+function init(self)
+ self:set("arflags", "--create")
+end