summaryrefslogtreecommitdiff
path: root/zephyr/shim/chip/mchp/CMakeLists.txt
blob: 09484242752beeef428ea36e9303a12cfc246a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Copyright 2022 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.

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)