summaryrefslogtreecommitdiff
path: root/zephyr/cmake/linker/ld/linker_flags.cmake
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2020-12-09 19:09:35 -0700
committerCommit Bot <commit-bot@chromium.org>2021-01-15 03:55:56 +0000
commit1a697dfdc386066b8d2c8d0224679ed82741580a (patch)
tree370df32316de9e145e81ba739ed2af23176ca161 /zephyr/cmake/linker/ld/linker_flags.cmake
parent73978cf7a156c81c493e2ed9a22a9a2623fd43b7 (diff)
downloadchrome-ec-1a697dfdc386066b8d2c8d0224679ed82741580a.tar.gz
Add toolchain definition for coreboot-sdk
Add a toolchain definition for coreboot-sdk, so that volteer can build with coreboot-sdk instead by adding -t coreboot-sdk to the "zmake configure". BUG=b:175248887 TEST=zmake configure -b -t coreboot-sdk -B $(mktemp -d) \ projects/experimental/volteer Change-Id: I1ac9dbf96d893846077e9a7cdc970f57d7a4890d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/zephyr-chrome/+/2583409 Tested-by: Jack Rosenthal <jrosenth@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org> Commit-Queue: Jack Rosenthal <jrosenth@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2630159 Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/cmake/linker/ld/linker_flags.cmake')
-rw-r--r--zephyr/cmake/linker/ld/linker_flags.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/cmake/linker/ld/linker_flags.cmake b/zephyr/cmake/linker/ld/linker_flags.cmake
new file mode 100644
index 0000000000..c80d1d2452
--- /dev/null
+++ b/zephyr/cmake/linker/ld/linker_flags.cmake
@@ -0,0 +1,7 @@
+# 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.
+
+# 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")