diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-21 10:39:41 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-21 10:39:41 +0100 |
commit | 8308f26bb563c711915f40660898e37ef1c92155 (patch) | |
tree | 31a040ffaedd4e31e9303ab57636f5aa2f36f245 /CC/EXPRESSIONS | |
parent | 1dcac56d3f2b170617aba19726b92e267261c876 (diff) | |
parent | 2430b90cb882f474fc35ab65a1cf61a319fe5364 (diff) | |
download | rules-cc-8308f26bb563c711915f40660898e37ef1c92155.tar.gz |
Merge commit '2430b90cb882f474fc35ab65a1cf61a319fe5364' into HEAD
Diffstat (limited to 'CC/EXPRESSIONS')
-rw-r--r-- | CC/EXPRESSIONS | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/CC/EXPRESSIONS b/CC/EXPRESSIONS index 97ce933..b347a79 100644 --- a/CC/EXPRESSIONS +++ b/CC/EXPRESSIONS @@ -1173,7 +1173,14 @@ } , "lint information": { "vars": - [ "srcs" + [ "CC" + , "CXX" + , "CFLAGS" + , "CXXFLAGS" + , "ADD_CFLAGS" + , "ADD_CXXFLAGS" + , "pure C" + , "srcs" , "hdrs" , "private-hdrs" , "compile-deps" @@ -1197,7 +1204,15 @@ , "expression": { "type": "let*" , "bindings": - [ [ "NON_SYSTEM_TOOLS" + [ ["TOOLCHAIN_DIR", "toolchain"] + , ["TOOLCHAIN", {"type": "CALL_EXPRESSION", "name": "default-TOOLCHAIN"}] + , [ "TOOLCHAIN" + , { "type": "to_subdir" + , "subdir": {"type": "var", "name": "TOOLCHAIN_DIR"} + , "$1": {"type": "var", "name": "TOOLCHAIN"} + } + ] + , [ "NON_SYSTEM_TOOLS" , {"type": "CALL_EXPRESSION", "name": "default-NON_SYSTEM_TOOLS"} ] , ["COMPILER", {"type": "CALL_EXPRESSION", "name": "compiler"}] |