summaryrefslogtreecommitdiff
path: root/zephyr/projects/kohaku
diff options
context:
space:
mode:
authorJack Rosenthal <jrosenth@chromium.org>2021-02-04 13:09:12 -0700
committerCommit Bot <commit-bot@chromium.org>2021-02-04 21:18:29 +0000
commitb69237569f85b460807a85a317a6c48aa5a4babd (patch)
tree2ba0335681acbe0368d79677beefa3dedfd57b86 /zephyr/projects/kohaku
parent7820aa4489f13819b14bfdba739e2f13b167095c (diff)
downloadchrome-ec-b69237569f85b460807a85a317a6c48aa5a4babd.tar.gz
zephyr: zmake: auto-generate SYSCALL_INCLUDE_DIRS
This can be done by Zmake instead of needing to copy-paste between every CMakeLists.txt. BUG=b:179404290 BRANCH=none TEST=compile for volteer and kohaku Signed-off-by: Jack Rosenthal <jrosenth@chromium.org> Change-Id: I2c89e91d7cca7065ee7dcdaa05c7af49d65b4733 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2676605 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Yuval Peress <peress@chromium.org>
Diffstat (limited to 'zephyr/projects/kohaku')
-rw-r--r--zephyr/projects/kohaku/CMakeLists.txt9
1 files changed, 0 insertions, 9 deletions
diff --git a/zephyr/projects/kohaku/CMakeLists.txt b/zephyr/projects/kohaku/CMakeLists.txt
index 338e936f46..8d618ef6b2 100644
--- a/zephyr/projects/kohaku/CMakeLists.txt
+++ b/zephyr/projects/kohaku/CMakeLists.txt
@@ -4,15 +4,6 @@
cmake_minimum_required(VERSION 3.13.1)
-# Append ${PLATFORM_EC}/zephyr/include/drivers to SYSCALL_INCLUDE_DIRS
-# variable for generating __syscall api functions by the
-# `gen_syscalls.py` script.
-# TODO: remove this when zmake support
-list(APPEND
- SYSCALL_INCLUDE_DIRS
- "${CMAKE_CURRENT_LIST_DIR}/../../include/drivers"
-)
-
find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE})
project(kohaku)