diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-21 10:40:31 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-03-21 10:40:31 +0100 |
commit | edc5101c3b73014b282fe18630001e468c797b9d (patch) | |
tree | e2c9ba29d75171120e54f692afb30595b117524d | |
parent | cc1a97a31e431f020f763364a7938fdddf7d1482 (diff) | |
parent | 8308f26bb563c711915f40660898e37ef1c92155 (diff) | |
download | rules-cc-edc5101c3b73014b282fe18630001e468c797b9d.tar.gz |
Merge commit '8308f26bb563c711915f40660898e37ef1c92155' into HEAD
-rw-r--r-- | rules/CC/EXPRESSIONS | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/rules/CC/EXPRESSIONS b/rules/CC/EXPRESSIONS index 97ce933..b347a79 100644 --- a/rules/CC/EXPRESSIONS +++ b/rules/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"}] |