# 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']