Browse Source
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>pull/96/head
5 changed files with 11 additions and 9 deletions
@ -1,3 +0,0 @@ |
|||
ifdef CONFIG_PVRDMA |
|||
rdmacm-mux-obj-y = main.o |
|||
endif |
|||
@ -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…
Reference in new issue