diff options
Diffstat (limited to 'zephyr/projects/trogdor/lazor/CMakeLists.txt')
-rw-r--r-- | zephyr/projects/trogdor/lazor/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/zephyr/projects/trogdor/lazor/CMakeLists.txt b/zephyr/projects/trogdor/lazor/CMakeLists.txt index 37d42dab52..030e92ed58 100644 --- a/zephyr/projects/trogdor/lazor/CMakeLists.txt +++ b/zephyr/projects/trogdor/lazor/CMakeLists.txt @@ -9,18 +9,18 @@ set(BOARD_ROOT "${CMAKE_CURRENT_LIST_DIR}/..") find_package(Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE}) project(lazor) -zephyr_include_directories(include) +zephyr_library_include_directories(include) set(PLATFORM_EC_BASEBOARD "${PLATFORM_EC}/baseboard/trogdor" CACHE PATH "Path to the platform/ec baseboard directory") set(PLATFORM_EC_BOARD "${PLATFORM_EC}/board/lazor" CACHE PATH "Path to the platform/ec board directory") -zephyr_sources_ifdef(CONFIG_PLATFORM_EC_USBC +zephyr_library_sources_ifdef(CONFIG_PLATFORM_EC_USBC "${PLATFORM_EC_BASEBOARD}/usbc_config.c" "${PLATFORM_EC_BASEBOARD}/usb_pd_policy.c") -zephyr_sources( +zephyr_library_sources( "${PLATFORM_EC_BOARD}/battery.c" "${PLATFORM_EC_BOARD}/sku.c" "${PLATFORM_EC_BOARD}/switchcap.c" |