X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa%2Fmeson.build;h=42e1f8c2e2368e1ee0b9b92b246ca54f4bfffe50;hb=9fda31c3229ca6e036cae80392578ed6e5a51119;hp=a4c40a680d52bc7b49c27cc0f9c7c7c16c57da11;hpb=6ec78c2463acdd06560d09e3fb1056d2b1ec0c68;p=dpdk.git diff --git a/drivers/net/dpaa/meson.build b/drivers/net/dpaa/meson.build index a4c40a680d..42e1f8c2e2 100644 --- a/drivers/net/dpaa/meson.build +++ b/drivers/net/dpaa/meson.build @@ -1,14 +1,23 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright 2018 NXP +# Copyright 2018-2020 NXP -if host_machine.system() != 'linux' - build = false +if not is_linux + build = false + reason = 'only supported on Linux' endif -deps += ['bus_dpaa', 'mempool_dpaa'] +deps += ['mempool_dpaa'] -sources = files('dpaa_ethdev.c', - 'dpaa_rxtx.c') +sources = files( + 'dpaa_ethdev.c', + 'fmlib/fm_lib.c', + 'fmlib/fm_vsp.c', + 'dpaa_flow.c', + 'dpaa_rxtx.c', + 'dpaa_fmc.c', +) -allow_experimental_apis = true +if cc.has_argument('-Wno-pointer-arith') + cflags += '-Wno-pointer-arith' +endif -install_headers('rte_pmd_dpaa.h') +headers = files('rte_pmd_dpaa.h')