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