]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2017 Intel Corporation | |
3 | ||
4 | eal_inc += include_directories('.', 'include', | |
5 | join_paths('include/arch', arch_subdir)) | |
6 | ||
7 | common_objs = [] | |
8 | common_sources = files( | |
9 | 'eal_common_bus.c', | |
10 | 'eal_common_cpuflags.c', | |
11 | 'eal_common_class.c', | |
12 | 'eal_common_devargs.c', | |
13 | 'eal_common_dev.c', | |
14 | 'eal_common_errno.c', | |
15 | 'eal_common_fbarray.c', | |
16 | 'eal_common_hexdump.c', | |
9f95a23c | 17 | 'eal_common_hypervisor.c', |
11fdf7f2 TL |
18 | 'eal_common_launch.c', |
19 | 'eal_common_lcore.c', | |
20 | 'eal_common_log.c', | |
21 | 'eal_common_memalloc.c', | |
22 | 'eal_common_memory.c', | |
23 | 'eal_common_memzone.c', | |
24 | 'eal_common_options.c', | |
25 | 'eal_common_proc.c', | |
26 | 'eal_common_string_fns.c', | |
27 | 'eal_common_tailqs.c', | |
28 | 'eal_common_thread.c', | |
29 | 'eal_common_timer.c', | |
30 | 'eal_common_uuid.c', | |
9f95a23c | 31 | 'hotplug_mp.c', |
11fdf7f2 TL |
32 | 'malloc_elem.c', |
33 | 'malloc_heap.c', | |
34 | 'malloc_mp.c', | |
35 | 'rte_keepalive.c', | |
36 | 'rte_malloc.c', | |
9f95a23c | 37 | 'rte_option.c', |
11fdf7f2 TL |
38 | 'rte_reciprocal.c', |
39 | 'rte_service.c' | |
40 | ) | |
41 | ||
42 | # get architecture specific sources and objs | |
43 | eal_common_arch_sources = [] | |
44 | eal_common_arch_objs = [] | |
45 | subdir(join_paths('arch', arch_subdir)) | |
46 | common_sources += eal_common_arch_sources | |
47 | common_objs += eal_common_arch_objs | |
48 | ||
49 | common_headers = files( | |
50 | 'include/rte_alarm.h', | |
51 | 'include/rte_branch_prediction.h', | |
52 | 'include/rte_bus.h', | |
53 | 'include/rte_bitmap.h', | |
54 | 'include/rte_class.h', | |
55 | 'include/rte_common.h', | |
9f95a23c | 56 | 'include/rte_compat.h', |
11fdf7f2 TL |
57 | 'include/rte_debug.h', |
58 | 'include/rte_devargs.h', | |
59 | 'include/rte_dev.h', | |
60 | 'include/rte_eal.h', | |
61 | 'include/rte_eal_memconfig.h', | |
62 | 'include/rte_eal_interrupts.h', | |
63 | 'include/rte_errno.h', | |
64 | 'include/rte_fbarray.h', | |
65 | 'include/rte_hexdump.h', | |
9f95a23c | 66 | 'include/rte_hypervisor.h', |
11fdf7f2 TL |
67 | 'include/rte_interrupts.h', |
68 | 'include/rte_keepalive.h', | |
69 | 'include/rte_launch.h', | |
70 | 'include/rte_lcore.h', | |
71 | 'include/rte_log.h', | |
72 | 'include/rte_malloc.h', | |
73 | 'include/rte_malloc_heap.h', | |
74 | 'include/rte_memory.h', | |
75 | 'include/rte_memzone.h', | |
9f95a23c | 76 | 'include/rte_option.h', |
11fdf7f2 TL |
77 | 'include/rte_pci_dev_feature_defs.h', |
78 | 'include/rte_pci_dev_features.h', | |
79 | 'include/rte_per_lcore.h', | |
80 | 'include/rte_random.h', | |
81 | 'include/rte_reciprocal.h', | |
82 | 'include/rte_service.h', | |
83 | 'include/rte_service_component.h', | |
84 | 'include/rte_string_fns.h', | |
85 | 'include/rte_tailq.h', | |
86 | 'include/rte_time.h', | |
87 | 'include/rte_uuid.h', | |
88 | 'include/rte_version.h') | |
89 | ||
90 | # special case install the generic headers, since they go in a subdir | |
91 | generic_headers = files( | |
92 | 'include/generic/rte_atomic.h', | |
93 | 'include/generic/rte_byteorder.h', | |
94 | 'include/generic/rte_cpuflags.h', | |
95 | 'include/generic/rte_cycles.h', | |
96 | 'include/generic/rte_io.h', | |
97 | 'include/generic/rte_memcpy.h', | |
98 | 'include/generic/rte_pause.h', | |
99 | 'include/generic/rte_prefetch.h', | |
100 | 'include/generic/rte_rwlock.h', | |
101 | 'include/generic/rte_spinlock.h', | |
9f95a23c | 102 | 'include/generic/rte_ticketlock.h', |
11fdf7f2 TL |
103 | 'include/generic/rte_vect.h') |
104 | install_headers(generic_headers, subdir: 'generic') | |
105 | ||
106 | # get and install the architecture specific headers | |
107 | subdir(join_paths('include/arch', arch_subdir)) |