X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_kni%2Fmeson.build;h=963eae6fe06a12142d67ecf82c4c97b72153b968;hb=c3330594096a10e64496bc9b298e3f7186f2cbe5;hp=a738a033ac6f4e21d0277c2f222aa266e35adafb;hpb=dc7d3f2b23ea4cb0fa197ddbca261555997fc46a;p=dpdk.git diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build index a738a033ac..963eae6fe0 100644 --- a/lib/librte_kni/meson.build +++ b/lib/librte_kni/meson.build @@ -1,10 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -if host_machine.system() != 'linux' or cc.sizeof('void *') == 4 +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false + reason = 'only supported on 64-bit linux' endif -version = 2 sources = files('rte_kni.c') headers = files('rte_kni.h') deps += ['ethdev', 'pci']