2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2018 Marvell International Ltd.
|
|
|
|
# Copyright(c) 2018 Semihalf.
|
|
|
|
# All rights reserved.
|
|
|
|
|
2022-09-06 04:00:10 +00:00
|
|
|
if is_windows
|
|
|
|
build = false
|
|
|
|
reason = 'not supported on Windows'
|
|
|
|
subdir_done()
|
|
|
|
endif
|
2019-06-25 11:12:58 +00:00
|
|
|
|
2022-09-06 04:00:10 +00:00
|
|
|
dep = dependency('libmusdk', required: false, method: 'pkg-config')
|
|
|
|
if not dep.found()
|
|
|
|
build = false
|
|
|
|
reason = 'missing dependency, "libmusdk"'
|
|
|
|
subdir_done()
|
2019-06-25 11:12:58 +00:00
|
|
|
endif
|
|
|
|
|
2022-09-06 04:00:10 +00:00
|
|
|
ext_deps += dep
|
|
|
|
|
2019-06-25 11:12:58 +00:00
|
|
|
sources = files('rte_mrvl_pmd.c', 'rte_mrvl_pmd_ops.c')
|
|
|
|
|
2022-09-06 04:00:10 +00:00
|
|
|
deps += ['bus_vdev', 'common_mvep', 'security']
|