X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=20eaf0b8e454adeafd083091a5ae37e5148d783f;hb=99fc1f6eefa7850089d392bc682767e75bc79259;hp=1184ce6b91f5d2fe4a27382116b307b75018fd90;hpb=184c39d16568a870cde5d004961470e21f7a6c75;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index 1184ce6b91..20eaf0b8e4 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -1,30 +1,27 @@ # SPDX-License-Identifier: BSD-3-Clause -# Copyright 2018 NXP - -version = 2 +# Copyright 2018-2021 NXP if not is_linux - build = false - reason = 'only supported on 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', - 'mc/dpkg.c', - 'mc/dpdmux.c', - 'mc/dpni.c') - -if dpdk_conf.has('RTE_LIBRTE_IEEE1588') - sources += files('mc/dprtc.c') -endif +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')