diff options
Diffstat (limited to 'zephyr/cmake/toolchain/llvm')
-rw-r--r-- | zephyr/cmake/toolchain/llvm/generic.cmake | 7 | ||||
-rw-r--r-- | zephyr/cmake/toolchain/llvm/target.cmake | 16 |
2 files changed, 0 insertions, 23 deletions
diff --git a/zephyr/cmake/toolchain/llvm/generic.cmake b/zephyr/cmake/toolchain/llvm/generic.cmake deleted file mode 100644 index 6a248a13cf..0000000000 --- a/zephyr/cmake/toolchain/llvm/generic.cmake +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2020 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -set(COMPILER clang) -set(LINKER lld) -set(BINTOOLS llvm) diff --git a/zephyr/cmake/toolchain/llvm/target.cmake b/zephyr/cmake/toolchain/llvm/target.cmake deleted file mode 100644 index d79d73d1ae..0000000000 --- a/zephyr/cmake/toolchain/llvm/target.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2020 The Chromium OS Authors. All rights reserved. -# Use of this source code is governed by a BSD-style license that can be -# found in the LICENSE file. - -set(COMPILER clang) -set(LINKER lld) -set(BINTOOLS llvm) - -# Mapping of Zephyr architecture -> toolchain triple -# Note only "posix" is supported at the moment. -set(CROSS_COMPILE_TARGET_posix x86_64-pc-linux-gnu) - -set(CROSS_COMPILE_TARGET ${CROSS_COMPILE_TARGET_${ARCH}}) - -set(CC clang) -set(CROSS_COMPILE "/usr/bin/${CROSS_COMPILE_TARGET}-") |