mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 23:07:44 +00:00
meson: src: build virtbhyved daemon binary
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
f0476d00f8
commit
c6f7aa995e
@ -4,22 +4,10 @@ DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(BHYVE_DRIVER_SOURCES))
|
||||
STATEFUL_DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(BHYVE_DRIVER_SOURCES))
|
||||
|
||||
if WITH_BHYVE
|
||||
sbin_PROGRAMS += virtbhyved
|
||||
|
||||
nodist_conf_DATA += bhyve/virtbhyved.conf
|
||||
augeas_DATA += bhyve/virtbhyved.aug
|
||||
augeastest_DATA += bhyve/test_virtbhyved.aug
|
||||
|
||||
virtbhyved_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtbhyved_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtbhyved_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtbhyved\"" \
|
||||
-DMODULE_NAME="\"bhyve\"" \
|
||||
$(NULL)
|
||||
virtbhyved_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtbhyved_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
bhyve/virtbhyved.conf: remote/libvirtd.conf.in
|
||||
$(AM_V_GEN)$(SED) \
|
||||
-e '/[@]CUT_ENABLE_IP[@]/,/[@]END[@]/d' \
|
||||
|
@ -35,4 +35,12 @@ if conf.has('WITH_BHYVE')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtbhyved',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtbhyved"',
|
||||
'-DMODULE_NAME="bhyve"'
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user