X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=51598c048c758865d9c772d0ec76e9f59e9ecf69;hb=52600004e70826304fdc52cc1e56264d87a77688;hp=801cbf5d75d0a280561826b83e35fe4728f7d8e8;hpb=1def64c2d79e07eb3ec73f5d1ca797e512a3e4d5;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index 801cbf5d75..51598c048c 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,24 +1,29 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright 2018 NXP +# Copyright 2018-2021 NXP -version = 2 - -if host_machine.system() != 'linux' - build = false +if not is_linux + build = false + reason = 'only supported on Linux' endif deps += ['mempool_dpaa2'] -sources = files('base/dpaa2_hw_dpni.c', - 'dpaa2_mux.c', - 'dpaa2_ethdev.c', - 'dpaa2_rxtx.c', - 'mc/dpkg.c', - 'mc/dpdmux.c', - 'mc/dpni.c') +sources = files( + 'base/dpaa2_hw_dpni.c', + 'base/dpaa2_tlu_hash.c', + 'dpaa2_tm.c', + 'dpaa2_mux.c', + 'dpaa2_ethdev.c', + 'dpaa2_flow.c', + 'dpaa2_recycle.c', + 'dpaa2_rxtx.c', + 'dpaa2_sparser.c', + 'dpaa2_ptp.c', + 'mc/dprtc.c', + 'mc/dpkg.c', + 'mc/dpdmux.c', + 'mc/dpni.c', +) includes += include_directories('base', 'mc') -# depends on fslmc bus which uses experimental API -allow_experimental_apis = true - -install_headers('rte_pmd_dpaa2.h') +headers = files('rte_pmd_dpaa2.h')