diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2020-09-30 22:55:32 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-10-01 19:14:43 +0000 |
commit | 326864e0a15bcd0de5890579f10c14fda888022a (patch) | |
tree | ac5f775c99249eec59402cc9ef8d4761cc956b93 | |
parent | a122cd9c34a4a99656050aeddbc4acd28e295fe7 (diff) | |
download | chrome-ec-326864e0a15bcd0de5890579f10c14fda888022a.tar.gz |
zephyr: shim in util.c
Provides platform/ec utility functions.
BUG=b:167590251
BRANCH=none
TEST=compile posix-ec
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: Ic6846e93dd5190b0db4d666e55ae185c4cc61392
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2442456
Reviewed-by: Jett Rink <jettrink@chromium.org>
-rw-r--r-- | zephyr/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zephyr/CMakeLists.txt b/zephyr/CMakeLists.txt index 5c0866bd74..e13a080bd1 100644 --- a/zephyr/CMakeLists.txt +++ b/zephyr/CMakeLists.txt @@ -25,3 +25,6 @@ zephyr_include_directories_ifdef( "${PLATFORM_EC}/include") add_subdirectory_ifdef(CONFIG_PLATFORM_EC "shim/src") + +# Shimmed modules +zephyr_sources_ifdef(CONFIG_PLATFORM_EC "${PLATFORM_EC}/common/util.c") |