X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=571cdb7d4bbf950cb332c83d29a43182d602fc58;hb=00f75a40576b28aa5633d2cadd86f23c30c7d220;hp=213f0d72f4a6c0d2606afea4822d43980cf1d9c0;hpb=b67dde5b1984a597e7319b23ff90712469b3e5c5;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index 213f0d72f4..571cdb7d4b 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,18 +1,30 @@ # 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 += ['mempool_dpaa2'] sources = files('base/dpaa2_hw_dpni.c', + 'dpaa2_mux.c', 'dpaa2_ethdev.c', + 'dpaa2_flow.c', 'dpaa2_rxtx.c', + 'dpaa2_sparser.c', 'mc/dpkg.c', + 'mc/dpdmux.c', 'mc/dpni.c') +if dpdk_conf.has('RTE_LIBRTE_IEEE1588') + sources += files('mc/dprtc.c') + sources += files('dpaa2_ptp.c') +endif + includes += include_directories('base', 'mc') # depends on fslmc bus which uses experimental API allow_experimental_apis = true + +install_headers('rte_pmd_dpaa2.h')