summaryrefslogtreecommitdiff
path: root/zephyr/shim/chip/mchp/CMakeLists.txt
blob: f59a1be2b18389fcdde51d70bfc7f2fb43be6e0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright 2022 The ChromiumOS Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

cros_ec_library_include_directories(include)

zephyr_library_sources(clock.c)
zephyr_library_sources(gpio.c)
zephyr_library_sources_ifdef(CONFIG_CROS_KB_RAW_MCHP  keyboard_raw.c)
zephyr_library_sources_ifdef(CONFIG_CROS_EC           system.c)

zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_EXTERNAL_STORAGE
        system_external_storage.c
        system_download_from_flash.c)