X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa%2Fmeson.build;h=0f72730b03a272155f61fa271c79154bae4d51a2;hb=56175f74eaa565cdfde931d83be1db9faaa81667;hp=a4c40a680d52bc7b49c27cc0f9c7c7c16c57da11;hpb=6ec78c2463acdd06560d09e3fb1056d2b1ec0c68;p=dpdk.git diff --git a/drivers/net/dpaa/meson.build b/drivers/net/dpaa/meson.build index a4c40a680d..0f72730b03 100644 --- a/drivers/net/dpaa/meson.build +++ b/drivers/net/dpaa/meson.build @@ -1,14 +1,21 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright 2018 NXP +# Copyright 2018-2020 NXP -if host_machine.system() != 'linux' +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') + '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')