summaryrefslogtreecommitdiff
path: root/zephyr/module.yml
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2020-09-23 08:47:51 -0600
committerCommit Bot <commit-bot@chromium.org>2020-10-01 19:13:58 +0000
commit1f46aa758e3bee111cb6274eebbbf70bdbf00838 (patch)
treefd933122d77c4c073a059430c4d55432c5d80fff /zephyr/module.yml
parent0925bb2ba8afc40d7becd571a89c4bb062311680 (diff)
downloadchrome-ec-1f46aa758e3bee111cb6274eebbbf70bdbf00838.tar.gz
zephyr: add base files for Zephyr module
This adds the minimum files necessary for platform/ec to be considered a Zephyr module, as well as some of the discussed CMakeLists files from go/zephyr-shim. BUG=b:167590251 BRANCH=none TEST=Append platform/ec dir to ZEPHYR_MODULES, build for posix-ec To replicate: $ export ZEPHYR_TOOLCHAIN_VARIANT=llvm $ export ZEPHYR_BASE=... $ ZEPHYR_CHROME=... $ PLATFORM_EC=... $ cmake -S ${ZEPHYR_CHROME}/projects/experimental/posix-ec \ -B /tmp/zephyr-build \ -D ZEPHYR_MODULES="${ZEPHYR_CHROME};${PLATFORM_EC}" $ ninja -C /tmp/zephyr-build $ /tmp/zephyr-build/zephyr/zephyr.elf Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: Id5eb4e4d3b761a9499e876dfe2178be7f7961e93 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2427089 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'zephyr/module.yml')
-rw-r--r--zephyr/module.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/zephyr/module.yml b/zephyr/module.yml
new file mode 100644
index 0000000000..a8ea98bece
--- /dev/null
+++ b/zephyr/module.yml
@@ -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.
+
+build:
+ cmake: zephyr/
+ kconfig: zephyr/Kconfig