1#
2# Copyright (c) 2018-2023 O.S.Systems
3#
4# SPDX -License-Identifier: Apache-2.0
5#
6
7zephyr_syscall_header(
8  ${ZEPHYR_BASE}/include/zephyr/mgmt/updatehub.h
9)
10
11zephyr_library()
12
13zephyr_library_sources_ifdef(CONFIG_UPDATEHUB updatehub.c)
14zephyr_library_sources_ifdef(CONFIG_UPDATEHUB updatehub_device.c)
15zephyr_library_sources_ifdef(CONFIG_UPDATEHUB updatehub_firmware.c)
16zephyr_library_sources_ifdef(CONFIG_UPDATEHUB updatehub_timer.c)
17zephyr_library_sources_ifdef(CONFIG_UPDATEHUB updatehub_integrity.c)
18zephyr_library_sources_ifdef(CONFIG_UPDATEHUB updatehub_storage.c)
19zephyr_library_sources_ifdef(CONFIG_UPDATEHUB_SHELL shell.c)
20
21zephyr_library_sources_ifdef(CONFIG_USERSPACE updatehub_handlers.c)
22
23zephyr_include_directories(
24  ${ZEPHYR_BASE}/subsys/mgmt/updatehub/include
25)
26