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