-
Notifications
You must be signed in to change notification settings - Fork 77
/
Copy pathCMakeLists.txt
56 lines (47 loc) · 1.33 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#
# Copyright 2024,2025 NXP
#
# SPDX-License-Identifier: BSD-3-Clause
#
# middleware.multicore.rpmsg-lite
if (CONFIG_MCUX_COMPONENT_middleware.multicore.rpmsg-lite)
mcux_component_version(5.1.3)
mcux_add_include(
INCLUDES lib/include
)
mcux_add_source(
SOURCES lib/include/llist.h
lib/include/rpmsg_compiler.h
lib/include/rpmsg_default_config.h
lib/include/rpmsg_env.h
lib/include/rpmsg_lite.h
lib/include/virtio_ring.h
lib/include/virtqueue.h
)
mcux_add_source(
SOURCES lib/common/llist.c
lib/rpmsg_lite/rpmsg_lite.c
lib/virtio/virtqueue.c
)
endif()
if (CONFIG_MCUX_COMPONENT_middleware.multicore.rpmsg-lite.queue)
mcux_add_source(
SOURCES lib/include/rpmsg_queue.h
)
mcux_add_source(
SOURCES lib/rpmsg_lite/rpmsg_queue.c
)
endif()
if (CONFIG_MCUX_COMPONENT_middleware.multicore.rpmsg-lite.ns)
mcux_add_source(
SOURCES lib/include/rpmsg_ns.h
)
mcux_add_source(
SOURCES lib/rpmsg_lite/rpmsg_ns.c
)
endif()
if (CONFIG_MCUX_PRJSEG_middleware.multicore.rpmsg-lite.generated_config)
# Left intentionaly empty - For ecosystem data generation
endif()
include(cmake/env.cmake)
include(cmake/platform.cmake)