examples/kni: fix dependency check for meson build
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 3 Jul 2018 10:31:17 +0000 (11:31 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 10:29:07 +0000 (12:29 +0200)
commit90406a3d49eee7ce4bddf54136906569a6fc73a7
tree9e6826294741ade02e1ee4f6fa7dc684e636d27a
parent8a1927626100649389a69d480d99731c2fe47e5a
examples/kni: fix dependency check for meson build

Rather than hard-coding the example app to be built only when a set of
conditions are met, we can simplify things by having the app built when
KNI library itself is available. That saves us duplicating the same set
of restrictions on both library and example app.

Fixes: 89f0711f9ddf ("examples: build some samples with meson")

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>
examples/kni/meson.build