/
global-components.cmake
47 lines (42 loc) · 1.02 KB
/
global-components.cmake
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
#
# Copyright 2018, Data61, CSIRO (ABN 41 687 119 230)
#
# SPDX-License-Identifier: BSD-2-Clause
#
cmake_minimum_required(VERSION 3.8.2)
include("${CMAKE_CURRENT_LIST_DIR}/global-connectors.cmake")
CAmkESAddImportPath(components plat_components/${KernelPlatform})
foreach(
comp
IN
ITEMS
remote-drivers/picotcp-ethernet-async
remote-drivers/picotcp-socket-sync
components/modules/fdt-bind-driver
components/modules/dynamic-untyped-allocators
components/modules/single-threaded
components/modules/x86-iospace-dma
components/modules/picotcp-base
components/ClockServer
components/GPIOMUXServer
components/ResetServer
plat_components/tx2/BPMPServer
)
add_subdirectory("${CMAKE_CURRENT_LIST_DIR}/${comp}" ${comp})
endforeach()
foreach(
comp
IN
ITEMS
PCIConfigIO
RTC
SerialServer
TimeServer
FileServer
VirtQueue
BenchUtiliz
Ethdriver
PicoServer
)
include("${CMAKE_CURRENT_LIST_DIR}/components/${comp}/CMakeLists.txt")
endforeach()