summaryrefslogtreecommitdiff
path: root/zephyr/test/herobrine/CMakeLists.txt
blob: 17b3d973a1d97d73de6d0cd53fc604f4e42a7ca3 (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.

cmake_minimum_required(VERSION 3.13.1)
find_package(Zephyr REQUIRED HINTS "${ZEPHYR_BASE}")
project(herobrine)

zephyr_include_directories("${PLATFORM_EC_PROGRAM_DIR}/herobrine/include")

target_sources_ifdef(CONFIG_TEST_BOARD_CHIPSET
	app PRIVATE src/board_chipset.c)
target_sources_ifdef(CONFIG_TEST_BOARD_CHIPSET
	app PRIVATE ${PLATFORM_EC_PROGRAM_DIR}/herobrine/src/board_chipset.c)