diff options
author | Paolo Bonzini | 2019-06-10 12:27:52 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-08-21 12:30:10 +0200 |
commit | a9c9727c028329e18ee3dcabb75f906147936fac (patch) | |
tree | 7fe27300de3231cef72a5eb93298ec5e8aa3cb24 /contrib/rdmacm-mux | |
parent | contrib/vhost-user-scsi: convert to Meson (diff) | |
download | qemu-a9c9727c028329e18ee3dcabb75f906147936fac.tar.gz qemu-a9c9727c028329e18ee3dcabb75f906147936fac.tar.xz qemu-a9c9727c028329e18ee3dcabb75f906147936fac.zip |
contrib/rdmacm-mux: convert to Meson
We can use config-host.mak to decide whether the tool has to be built,
apart from that the conversion is straightforward.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'contrib/rdmacm-mux')
-rw-r--r-- | contrib/rdmacm-mux/Makefile.objs | 3 | ||||
-rw-r--r-- | contrib/rdmacm-mux/meson.build | 9 |
2 files changed, 9 insertions, 3 deletions
diff --git a/contrib/rdmacm-mux/Makefile.objs b/contrib/rdmacm-mux/Makefile.objs deleted file mode 100644 index 3df744af89..0000000000 --- a/contrib/rdmacm-mux/Makefile.objs +++ /dev/null @@ -1,3 +0,0 @@ -ifdef CONFIG_PVRDMA -rdmacm-mux-obj-y = main.o -endif diff --git a/contrib/rdmacm-mux/meson.build b/contrib/rdmacm-mux/meson.build new file mode 100644 index 0000000000..6cc5016747 --- /dev/null +++ b/contrib/rdmacm-mux/meson.build @@ -0,0 +1,9 @@ +if 'CONFIG_PVRDMA' in config_host + # if not found, CONFIG_PVRDMA should not be set + # FIXME: broken on big endian architectures + libumad = cc.find_library('ibumad', required: true) + executable('rdmacm-mux', files('main.c'), + dependencies: [glib, libumad], + build_by_default: false, + install: false) +endif |