net/kni: fix check for meson build
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 3 Jul 2018 10:31:19 +0000 (11:31 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 10:29:14 +0000 (12:29 +0200)
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>
drivers/net/kni/meson.build

index 7746818..0f784c6 100644 (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'