diff options
Diffstat (limited to 'zephyr/program/trogdor/lazor/CMakeLists.txt')
-rw-r--r-- | zephyr/program/trogdor/lazor/CMakeLists.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/zephyr/program/trogdor/lazor/CMakeLists.txt b/zephyr/program/trogdor/lazor/CMakeLists.txt new file mode 100644 index 0000000000..b6d5024707 --- /dev/null +++ b/zephyr/program/trogdor/lazor/CMakeLists.txt @@ -0,0 +1,23 @@ +# Copyright 2021 The ChromiumOS Authors +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +cmake_minimum_required(VERSION 3.13.1) + +find_package(Zephyr REQUIRED HINTS "${ZEPHYR_BASE}") +project(lazor) + +cros_ec_library_include_directories(include) + +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC + "src/power.c" + "src/usb_pd_policy.c" + "src/usbc_config.c") + +zephyr_library_sources( + "src/sku.c" + "src/switchcap.c") + +# Board specific implementation +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_I2C + "src/i2c.c") |