diff options
Diffstat (limited to 'zephyr/cmake/compiler/clang')
-rw-r--r-- | zephyr/cmake/compiler/clang/compiler_flags.cmake | 10 | ||||
-rw-r--r-- | zephyr/cmake/compiler/clang/generic.cmake | 6 | ||||
-rw-r--r-- | zephyr/cmake/compiler/clang/target.cmake | 6 |
3 files changed, 0 insertions, 22 deletions
diff --git a/zephyr/cmake/compiler/clang/compiler_flags.cmake b/zephyr/cmake/compiler/clang/compiler_flags.cmake deleted file mode 100644 index d247bd622d..0000000000 --- a/zephyr/cmake/compiler/clang/compiler_flags.cmake +++ /dev/null @@ -1,10 +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. - -include("${ZEPHYR_BASE}/cmake/compiler/clang/compiler_flags.cmake") - -# Disable -fno-freestanding. -set_compiler_property(PROPERTY hosted) - -check_set_compiler_property(APPEND PROPERTY warning_extended -Wunused-variable -Werror=unused-variable) diff --git a/zephyr/cmake/compiler/clang/generic.cmake b/zephyr/cmake/compiler/clang/generic.cmake deleted file mode 100644 index aa3665ad39..0000000000 --- a/zephyr/cmake/compiler/clang/generic.cmake +++ /dev/null @@ -1,6 +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(CMAKE_C_COMPILER "/usr/bin/x86_64-pc-linux-gnu-clang") -set(CMAKE_GCOV "/usr/bin/llvm-cov gcov") diff --git a/zephyr/cmake/compiler/clang/target.cmake b/zephyr/cmake/compiler/clang/target.cmake deleted file mode 100644 index 6702087df5..0000000000 --- a/zephyr/cmake/compiler/clang/target.cmake +++ /dev/null @@ -1,6 +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(CMAKE_C_COMPILER "${CROSS_COMPILE}clang") -set(CMAKE_CXX_COMPILER "${CROSS_COMPILE}clang++") |