net: add rte prefix to ether structures
[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 else
14         ext_deps += lib
15         includes += include_directories(inc_dir)
16         cflags += ['-DMVCONF_TYPES_PUBLIC', '-DMVCONF_DMA_PHYS_ADDR_T_PUBLIC']
17 endif
18
19 sources = files(
20         'mrvl_ethdev.c',
21         'mrvl_flow.c',
22         'mrvl_qos.c',
23         'mrvl_mtr.c',
24         'mrvl_tm.c'
25 )
26
27 deps += ['cfgfile', 'common_mvep']