From 326864e0a15bcd0de5890579f10c14fda888022a Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Wed, 30 Sep 2020 22:55:32 -0600 Subject: zephyr: shim in util.c Provides platform/ec utility functions. BUG=b:167590251 BRANCH=none TEST=compile posix-ec Signed-off-by: Jack Rosenthal Change-Id: Ic6846e93dd5190b0db4d666e55ae185c4cc61392 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2442456 Reviewed-by: Jett Rink --- zephyr/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v1.2.1