X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=f5f411d592e1d93ecf2b5566dd23e19f0ea2184c;hb=fb7ad441d43d4152cb7bde992a1136c20d9166e9;hp=c7c2df41700ba549fc59d92e308ff0315224a0a7;hpb=0817d41fdb4872aab528c945c2d645bda4a7977e;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index c7c2df4170..f5f411d592 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,23 +1,25 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright 2018 NXP +# Copyright 2018-2021 NXP -version = 2 - -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_tm.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') -# depends on fslmc bus which uses experimental API -allow_experimental_apis = true - -install_headers('rte_pmd_dpaa2.h') +headers = files('rte_pmd_dpaa2.h')