X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost%2Fmeson.build;h=9d9947c58565a9a6cbcd4d0986b5e3ec95e65c6b;hb=8e6663b8c145a3dcbd7b298b93682814973c7fcd;hp=7b498076cfb0a5736be7ed2b793d6ffcaa203f27;hpb=4f49c9f5be981b85ea8b29928c96ff4f2e02e261;p=dpdk.git diff --git a/examples/vhost/meson.build b/examples/vhost/meson.build index 7b498076cf..9d9947c585 100644 --- a/examples/vhost/meson.build +++ b/examples/vhost/meson.build @@ -6,11 +6,18 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' -if host_machine.system() != 'linux' +if not is_linux build = false + subdir_done() endif + deps += 'vhost' allow_experimental_apis = true sources = files( 'main.c', 'virtio_net.c' ) + +if dpdk_conf.has('RTE_RAW_IOAT') + deps += 'raw_ioat' + sources += files('ioat.c') +endif