blob: 2de2275a73a199672ad5538a6f9e57cff5cd9508 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
toolchain("my-c6000")
set_kind("standalone")
set_homepage("https://www.ti.com")
set_description("TI-CGT C6000 compiler")
set_toolset("cc", "cl6x")
set_toolset("cxx", "cl6x")
set_toolset("ld", "cl6x")
set_toolset("sh", "cl6x")
set_toolset("ar", "ar6x")
set_toolset("strip", "strip6x")
set_toolset("as", "cl6x")
on_check(function (toolchain)
return import("lib.detect.find_tool")("cl6x")
end)
on_load(function (toolchain)
toolchain:add("cxflags", "-Dxxx")
end)
|