net/kni: fix check for meson build

The configuration value indicating that KNI was build was incorrect,
causing the driver to never be built.

Fixes: 3479586fe636 ("net/kni: add to meson build")

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
Bruce Richardson 2018-07-03 11:31:19 +01:00 committed by Thomas Monjalon
parent 8a70b112e6
commit 5cc0ee66e4

View File

@ -2,7 +2,7 @@
# Copyright(c) 2018 Intel Corporation
# this driver can be built if-and-only-if KNI library is buildable
build = dpdk_conf.has('LIB_LIBRTE_KNI')
build = dpdk_conf.has('RTE_LIBRTE_KNI')
allow_experimental_apis = true
sources = files('rte_eth_kni.c')
deps += 'kni'