X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa%2Fmeson.build;h=51f1f32a13be1b27c35266f8e2c2ef7f389577d6;hb=4defbc8cbb6d5b520f13ee7f2396b0a31516d370;hp=62dec7b04d5514ddabd6d9d5105e556c3b028f1d;hpb=b67dde5b1984a597e7319b23ff90712469b3e5c5;p=dpdk.git diff --git a/drivers/net/dpaa/meson.build b/drivers/net/dpaa/meson.build index 62dec7b04d..51f1f32a13 100644 --- a/drivers/net/dpaa/meson.build +++ b/drivers/net/dpaa/meson.build @@ -1,14 +1,20 @@ # 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 += ['mempool_dpaa'] sources = files('dpaa_ethdev.c', + 'fmlib/fm_lib.c', + 'fmlib/fm_vsp.c', + 'dpaa_flow.c', 'dpaa_rxtx.c') -allow_experimental_apis = true +if cc.has_argument('-Wno-pointer-arith') + cflags += '-Wno-pointer-arith' +endif install_headers('rte_pmd_dpaa.h')