X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=7e74c656ab0e4bca8dcd227d90334f520bc59b4a;hb=94f00800d78b41c119f213a27ad4a8e1e3c78922;hp=8e96b5afa14200976dd3c7c893b9151b85270648;hpb=00bc40e265df6d9a4ddb7f1f665a0c77cfe39f71;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index 8e96b5afa1..7e74c656ab 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,18 +1,26 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 NXP -if host_machine.system() != 'linux' - build = false +version = 2 + +if not is_linux + build = false + reason = 'only supported on linux' endif -deps += ['bus_fslmc', 'mempool_dpaa2'] +deps += ['mempool_dpaa2'] sources = files('base/dpaa2_hw_dpni.c', + 'dpaa2_mux.c', 'dpaa2_ethdev.c', + 'dpaa2_flow.c', 'dpaa2_rxtx.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')