summaryrefslogtreecommitdiff
path: root/zephyr/cmake/linker/ld/linker_flags.cmake
blob: d6045ba6ed4afd60841eee4d1994a13da0f3105e (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright 2020 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

# Zephyr cmake system looks into ${TOOLCHAIN_ROOT}, but we just send
# this out to the copy in ${ZEPHYR_BASE}.
include("${ZEPHYR_BASE}/cmake/linker/ld/linker_flags.cmake")

# There can also be compiler specific linker options, so try to include
# our version of that also.
include("${TOOLCHAIN_ROOT}/cmake/linker/${LINKER}/${COMPILER}/linker_flags.cmake" OPTIONAL)