X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fdpaa2%2Fmeson.build;h=1a4ab212c256567493366f4482ec1f7e218a2ba0;hb=4b701523742e3753d58949846ac4eeebc6d5a78f;hp=c7c2df41700ba549fc59d92e308ff0315224a0a7;hpb=0817d41fdb4872aab528c945c2d645bda4a7977e;p=dpdk.git diff --git a/drivers/net/dpaa2/meson.build b/drivers/net/dpaa2/meson.build index c7c2df4170..1a4ab212c2 100644 --- a/drivers/net/dpaa2/meson.build +++ b/drivers/net/dpaa2/meson.build @@ -3,18 +3,27 @@ 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', '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