mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
99650b628f
commit
a9c9727c02
5 changed files with 11 additions and 9 deletions
|
@ -1,3 +0,0 @@
|
|||
ifdef CONFIG_PVRDMA
|
||||
rdmacm-mux-obj-y = main.o
|
||||
endif
|
9
contrib/rdmacm-mux/meson.build
Normal file
9
contrib/rdmacm-mux/meson.build
Normal file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue