X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=7e43553a3b65ec88cce732cd4b0cf590e0f4f6a1;hb=ea2780632f6563f100d0b324b6d027b3b51d2b78;hp=ad1724d44b40784abae88145622239a7cb9bb7ce;hpb=6ec78c2463acdd06560d09e3fb1056d2b1ec0c68;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index ad1724d44b..7e43553a3b 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,15 +1,24 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 NXP -if host_machine.system() != 'linux' - build = false +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', + 'dpaa2_sparser.c', + 'dpaa2_ptp.c', + 'mc/dprtc.c', 'mc/dpkg.c', + 'mc/dpdmux.c', 'mc/dpni.c') includes += include_directories('base', 'mc') + +headers = files('rte_pmd_dpaa2.h')