net/ena/base: prevent allocation of zero sized memory
[dpdk.git] / drivers / crypto / octeontx / meson.build
index 6511b40..cf031b0 100644 (file)
@@ -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'