blob: d79d73d1ae90690f4d0e126a7cc5d8a69341a9de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# 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}-")
|