1# Copyright (c) 2024 Nordic Semiconductor ASA
2# SPDX-License-Identifier: Apache-2.0
3
4if("${SB_CONFIG_REMOTE_BOARD}" STREQUAL "")
5  message(FATAL_ERROR "REMOTE_BOARD must be set to a valid board name")
6endif()
7
8ExternalZephyrProject_Add(
9  APPLICATION remote
10  SOURCE_DIR ${APP_DIR}/remote
11  BOARD ${SB_CONFIG_REMOTE_BOARD}
12)
13
14add_dependencies(${DEFAULT_IMAGE} remote)
15sysbuild_add_dependencies(FLASH ${DEFAULT_IMAGE} remote)
16