X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost%2Fmeson.build;h=3efd5e6540416cee72d286ab403c84470ec65ca2;hb=25829b55b463f7bb0b69af0e63b19121a16d2a63;hp=64c84ee124b012109e893ff842b3841375477ec9;hpb=8728ccf37615904cf23fb8763895b05c9a3c6b0c;p=dpdk.git diff --git a/examples/vhost/meson.build b/examples/vhost/meson.build index 64c84ee124..3efd5e6540 100644 --- a/examples/vhost/meson.build +++ b/examples/vhost/meson.build @@ -6,8 +6,19 @@ # To build this example as a standalone application with an already-installed # DPDK instance, use 'make' +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