summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamiano Mazzella <damianomazzella@gmail.com>2019-04-06 23:24:55 +0200
committerDamien George <damien.p.george@gmail.com>2019-04-11 12:24:05 +1000
commit3c9f78b048fade80f71cca25999ee2541a80034e (patch)
tree36e421d414650ba846321d9040d99af72e42fae7
parentfc9f2ff0cdc3cc75732d7954ac012b5a25f20f10 (diff)
zephyr/CMakeLists.txt: Set AR to point to the Zephyr toolchain exe.
-rw-r--r--ports/zephyr/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/zephyr/CMakeLists.txt b/ports/zephyr/CMakeLists.txt
index 8e0162417..017b0689c 100644
--- a/ports/zephyr/CMakeLists.txt
+++ b/ports/zephyr/CMakeLists.txt
@@ -17,6 +17,7 @@ zephyr_get_compile_options_for_lang_as_string(C options)
add_custom_target(
outputexports
COMMAND echo CC="${CMAKE_C_COMPILER}"
+ COMMAND echo AR="${CMAKE_AR}"
COMMAND echo Z_CFLAGS=${system_includes} ${includes} ${definitions} ${options}
VERBATIM
USES_TERMINAL