build: replace meson OS detection with variable
authorThomas Monjalon <thomas@monjalon.net>
Mon, 29 Jun 2020 20:31:19 +0000 (22:31 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 30 Jun 2020 13:29:59 +0000 (15:29 +0200)
commit4f299b7169000aa55fe7a48fe98736f728e4f710
tree376ea97275fb6ce01e74caf017ba87bdc6c47337
parentf7a4996c04abe29707e35a6d65b4057fc7c26269
build: replace meson OS detection with variable

Some places were calling the meson function host_machine.system()
instead of the variables is_windows and is_linux defined
in config/meson.build.

At the same time, the missing "Linux restriction" reason is added to
pfe and octeontx2 crypto PMDs.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
buildtools/pmdinfogen/meson.build
drivers/crypto/octeontx2/meson.build
drivers/net/pfe/meson.build
examples/ntb/meson.build