Skip to content

Commit 168ce81

Browse files
authored
Merge pull request #33 from xqyjlj/update-dev
update
2 parents a06e562 + 713dc36 commit 168ce81

4 files changed

Lines changed: 10 additions & 6 deletions

File tree

repo/packages/a/aarch64-smart-musleabi/xmake.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ do
2929
if is_host("windows") then
3030
add_urls("http://117.143.63.254:9012/www/rt-smart/aarch64-linux-musleabi_for_i686-w64-mingw32_$(version).zip")
3131

32-
add_versions("184869", "9dd15ff69ce44270aaccd05ccd038bad15baf60f2e4f0dafadc570a51b2eabde")
32+
add_versions("188177", "01dae6cea76959e7a2684630ca1c295e71ca65a288b4787a6595e93d45edba1e")
3333
elseif is_host("linux") then
3434
add_urls(
3535
"http://117.143.63.254:9012/www/rt-smart/aarch64-linux-musleabi_for_x86_64-pc-linux-gnu_$(version).tar.bz2")
3636

37-
add_versions("184869", "81c62acbdec8076bbbde564891798c84eeec3db1af40383600aec4fdc3a59fca")
37+
add_versions("188177", "e4e2720c0269eb0b00231f865abe2340f1e994490dfbc3d8617eee48098dbc1d")
3838
end
3939

4040
on_install("@windows", "@linux|x86_64", function(package)

tools/scripts/rules/rt.cpp.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
--
1313
-- Copyright (C) 2022-2023 RT-Thread Development Team
1414
--
15-
-- @author xqyjlj
15+
-- @author xqyjlj
1616
-- @file rt.cpp.lua
1717
--
1818
-- Change Logs:
@@ -36,6 +36,10 @@ do
3636

3737
target:add("ldflags", flags.ldflags_lib, {force = true})
3838
target:add("ldflags", "-lcxx", {force = true})
39+
40+
if config.arch() == "riscv64gc" then
41+
target:add("ldflags", "-latomic", {force = true})
42+
end
3943
end)
4044
end
4145
rule_end()

tools/scripts/tasks.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
--
1313
-- Copyright (C) 2023-2023 RT-Thread Development Team
1414
--
15-
-- @author xqyjlj
15+
-- @author xqyjlj
1616
-- @file tasks.lua
1717
--
1818
-- Change Logs:
@@ -27,7 +27,7 @@ do
2727
on_run("tasks/smart-image/on_run")
2828
set_category("plugin")
2929
set_menu {
30-
usage = "xmake rsmartt-image [options]",
30+
usage = "xmake smart-image [options]",
3131
description = "make image",
3232
options = {
3333
{"f", "format", "kv", "ext4", "image format",

tools/scripts/toolchains/riscv64gc-unknown-smart-musl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
--
1313
-- Copyright (C) 2022-2023 RT-Thread Development Team
1414
--
15-
-- @author xqyjlj
15+
-- @author xqyjlj
1616
-- @file riscv64gc-unknown-smart-musl.lua
1717
--
1818
-- Change Logs:

0 commit comments

Comments
 (0)