X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fcrypto%2Focteontx%2Fmeson.build;h=daef47a72f2290bd948343518b48daf6358e7ed8;hb=3841fc3581ec4d95bf8a72e8a545db8d03ecd2bd;hp=6511b4021512c7f05ba645250f617f11f797c578;hpb=ae50054152d613aecc706408137ebdafef7e4a46;p=dpdk.git diff --git a/drivers/crypto/octeontx/meson.build b/drivers/crypto/octeontx/meson.build index 6511b40215..daef47a72f 100644 --- a/drivers/crypto/octeontx/meson.build +++ b/drivers/crypto/octeontx/meson.build @@ -1,18 +1,19 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc -if host_machine.system() != 'linux' - build = false +if not is_linux + build = false + reason = 'only supported on Linux' endif deps += ['bus_pci'] deps += ['common_cpt'] -name = 'octeontx_crypto' -sources = files('otx_cryptodev.c', - 'otx_cryptodev_capabilities.c', - 'otx_cryptodev_hw_access.c', - 'otx_cryptodev_mbox.c', - 'otx_cryptodev_ops.c') +sources = files( + 'otx_cryptodev.c', + 'otx_cryptodev_capabilities.c', + 'otx_cryptodev_hw_access.c', + 'otx_cryptodev_mbox.c', + 'otx_cryptodev_ops.c', +) includes += include_directories('../../common/cpt') -cflags += '-DCPT_MODEL=CRYPTO_OCTEONTX'