eal: rename lcore master and slave
[dpdk.git] / drivers / net / mvpp2 / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Marvell International Ltd.
3 # Copyright(c) 2018 Semihalf.
4 # All rights reserved.
5
6 path = get_option('lib_musdk_dir')
7 lib_dir = path + '/lib'
8 inc_dir = path + '/include'
9
10 lib = cc.find_library('libmusdk', dirs : [lib_dir], required: false)
11 if not lib.found()
12         build = false
13         reason = 'missing dependency, "libmusdk"'
14 else
15         ext_deps += lib
16         includes += include_directories(inc_dir)
17         cflags += ['-DMVCONF_TYPES_PUBLIC', '-DMVCONF_DMA_PHYS_ADDR_T_PUBLIC']
18 endif
19
20 sources = files(
21         'mrvl_ethdev.c',
22         'mrvl_flow.c',
23         'mrvl_qos.c',
24         'mrvl_mtr.c',
25         'mrvl_tm.c'
26 )
27
28 deps += ['cfgfile', 'common_mvep']