]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/drivers/common/mvep/meson.build
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / spdk / dpdk / drivers / common / mvep / meson.build
CommitLineData
9f95a23c
TL
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2018 Marvell International Ltd.
3# Copyright(c) 2018 Semihalf.
4# All rights reserved.
5#
6path = get_option('lib_musdk_dir')
7lib_dir = path + '/lib'
8inc_dir = path + '/include'
9
10lib = cc.find_library('libmusdk', dirs: [lib_dir], required: false)
11if not lib.found()
12 build = false
f67539c2 13 reason = 'missing dependency, "libmusdk"'
9f95a23c
TL
14else
15 ext_deps += lib
16 includes += include_directories(inc_dir)
17 cflags += ['-DMVCONF_TYPES_PUBLIC', '-DMVCONF_DMA_PHYS_ADDR_T_PUBLIC']
18endif
19
20sources = files('mvep_common.c')