mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-26 03:21:44 +03:00
meson: src: build virtqemud 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
c2fad2eb31
commit
7dd9e54d35
@ -4,22 +4,10 @@ DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(QEMU_DRIVER_SOURCES))
|
||||
STATEFUL_DRIVER_SOURCE_FILES += $(addprefix $(srcdir)/,$(QEMU_DRIVER_SOURCES))
|
||||
|
||||
if WITH_QEMU
|
||||
sbin_PROGRAMS += virtqemud
|
||||
|
||||
nodist_conf_DATA += qemu/virtqemud.conf
|
||||
augeas_DATA += qemu/virtqemud.aug
|
||||
augeastest_DATA += qemu/test_virtqemud.aug
|
||||
|
||||
virtqemud_SOURCES = $(REMOTE_DAEMON_SOURCES)
|
||||
nodist_virtqemud_SOURCES = $(REMOTE_DAEMON_GENERATED)
|
||||
virtqemud_CFLAGS = \
|
||||
$(REMOTE_DAEMON_CFLAGS) \
|
||||
-DDAEMON_NAME="\"virtqemud\"" \
|
||||
-DMODULE_NAME="\"qemu\"" \
|
||||
$(NULL)
|
||||
virtqemud_LDFLAGS = $(REMOTE_DAEMON_LD_FLAGS)
|
||||
virtqemud_LDADD = $(REMOTE_DAEMON_LD_ADD)
|
||||
|
||||
SYSCONF_FILES += qemu/virtqemud.sysconf
|
||||
|
||||
SYSTEMD_UNIT_FILES += \
|
||||
|
@ -109,4 +109,12 @@ if conf.has('WITH_QEMU')
|
||||
libvirt_no_undefined,
|
||||
],
|
||||
}
|
||||
|
||||
virt_daemons += {
|
||||
'name': 'virtqemud',
|
||||
'c_args': [
|
||||
'-DDAEMON_NAME="virtqemud"',
|
||||
'-DMODULE_NAME="qemu"',
|
||||
],
|
||||
}
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user