X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=6dd0eb274c5791ef6db175d94a2497c0ae81a558;hb=056ec485861d3e0c9e9ad612e2dca70f66f83af9;hp=a0ea992386ce0e8029a09fb8b652dd02086fe33a;hpb=adf93ca564c73183e1c705cd7f35b98f3a660228;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index a0ea992386..6dd0eb274c 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,10 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 NXP -version = 2 - if not is_linux - build = false + build = false + reason = 'only supported on linux' endif deps += ['mempool_dpaa2'] @@ -13,13 +12,16 @@ sources = files('base/dpaa2_hw_dpni.c', 'dpaa2_ethdev.c', 'dpaa2_flow.c', 'dpaa2_rxtx.c', + 'dpaa2_sparser.c', 'mc/dpkg.c', 'mc/dpdmux.c', 'mc/dpni.c') -includes += include_directories('base', 'mc') +if dpdk_conf.has('RTE_LIBRTE_IEEE1588') + sources += files('mc/dprtc.c') + sources += files('dpaa2_ptp.c') +endif -# depends on fslmc bus which uses experimental API -allow_experimental_apis = true +includes += include_directories('base', 'mc') install_headers('rte_pmd_dpaa2.h')