X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=4312aa73f70e9e68da881240bdce16d6c333320e;hb=42c40f8902f7d9cf5a51c1ec0e1bfff515b50561;hp=b3459525830b1ba535a3c0651f2960777c546a2d;hpb=b4a63e605df40be963e11f1c2f23dfca4c5c4929;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index b345952583..4312aa73f7 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,20 +1,24 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2018 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_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')