X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fevent%2Focteontx%2Fmeson.build;h=eb17e059d8cbcf2d2afb928874abeb50a36f10ac;hb=85be99719a0cd9f2ac9e507ba99e3e4f4233a285;hp=73118a485419739488de3ea7ce33ec86f744ed0a;hpb=c649f0b4f58e35730d773104d3ba93bf21e21505;p=dpdk.git diff --git a/drivers/event/octeontx/meson.build b/drivers/event/octeontx/meson.build index 73118a4854..eb17e059d8 100644 --- a/drivers/event/octeontx/meson.build +++ b/drivers/event/octeontx/meson.build @@ -1,18 +1,21 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -sources = files('ssovf_worker.c', - 'ssovf_evdev.c', - 'ssovf_evdev_selftest.c', - 'ssovf_probe.c', - 'timvf_worker.c', - 'timvf_evdev.c', - 'timvf_probe.c' -) +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif -deps += ['common_octeontx', 'mempool_octeontx', 'bus_vdev', 'pmd_octeontx'] +sources = files( + 'ssovf_worker.c', + 'ssovf_evdev.c', + 'ssovf_evdev_selftest.c', + 'ssovf_probe.c', + 'timvf_worker.c', + 'timvf_evdev.c', + 'timvf_probe.c', +) -# for clang 32-bit compiles we need libatomic for 64-bit atomic ops -if cc.get_id() == 'clang' and dpdk_conf.get('RTE_ARCH_64') == false - ext_deps += cc.find_library('atomic') -endif +deps += ['common_octeontx', 'mempool_octeontx', 'bus_vdev', 'net_octeontx'] +deps += ['crypto_octeontx']