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