summaryrefslogtreecommitdiff
path: root/zephyr/shim/chip/npcx/CMakeLists.txt
blob: 86b7a9ae2f5121a9f58f19551464d65fca332324 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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_library_include_directories(include)

zephyr_library_sources(clock.c)
zephyr_library_sources(gpio.c)
zephyr_library_sources_ifdef(CONFIG_CROS_KB_RAW_NPCX  keyboard_raw.c)
zephyr_library_sources_ifdef(CONFIG_CROS_SHI_NPCX     shi.c)
zephyr_library_sources_ifdef(CONFIG_CROS_EC           system.c)

zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_EXTERNAL_STORAGE
        system_external_storage.c)