blob: 38d8f761d869dfa73cf6a0b5eb7ce827499224db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
set(CMAKE_SYSTEM_NAME Generic)
set(CMAKE_SYSTEM_PROCESSOR arm)
set(PREFIX armv7m-cros-eabi-)
set(CMAKE_SYSROOT /usr/armv7m-cros-eabi/)
include("${CMAKE_CURRENT_SOURCE_DIR}/cmake/toolchain-common.cmake")
add_link_options(-lclang_rt.builtins-armv7m)
add_link_options(-lnosys)
|