summaryrefslogtreecommitdiff
path: root/zephyr/cmake/linker/lld/linker_flags.cmake
blob: d382bd5b60f11a6ca167f9d7968fbe70c6f6fa88 (plain)
1
2
3
4
5
6
7
8
9
# 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.

# Include definitions for bfd as a base.
include("${ZEPHYR_BASE}/cmake/linker/ld/linker_flags.cmake")
# ld/linker_flags.cmake includes ${LINKER}/${COMPILER}/linker_flags.cmake but
# that doesn't exist for ldd, so import the path that actually exists.
include("${ZEPHYR_BASE}/cmake/linker/ld/${COMPILER}/linker_flags.cmake" OPTIONAL)