[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 036/143] meson: convert dummy Windows qga/qemu-ga target
From: |
Paolo Bonzini |
Subject: |
[PATCH 036/143] meson: convert dummy Windows qga/qemu-ga target |
Date: |
Thu, 6 Aug 2020 21:14:32 +0200 |
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
Makefile | 5 -----
qga/meson.build | 4 ++++
qga/vss-win32/meson.build | 2 ++
3 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
index 7c4a34a..5df772b 100644
--- a/Makefile
+++ b/Makefile
@@ -434,11 +434,6 @@ qemu-img-cmds.h: $(SRC_PATH)/qemu-img-cmds.hx
$(SRC_PATH)/scripts/hxtool
qemu-keymap$(EXESUF): LIBS += $(XKBCOMMON_LIBS)
qemu-keymap$(EXESUF): QEMU_CFLAGS += $(XKBCOMMON_CFLAGS)
-ifneq ($(EXESUF),)
-.PHONY: qga/qemu-ga
-qga/qemu-ga: qga/qemu-ga$(EXESUF) $(QGA_VSS_PROVIDER) $(QEMU_GA_MSI)
-endif
-
module_block.h: $(SRC_PATH)/scripts/modules/module_block.py config-host.mak
$(call quiet-command,$(PYTHON) $< $@ \
$(addprefix $(SRC_PATH)/,$(patsubst %.mo,%.c,$(block-obj-m))), \
diff --git a/qga/meson.build b/qga/meson.build
index 9246575..dcd4772 100644
--- a/qga/meson.build
+++ b/qga/meson.build
@@ -43,6 +43,7 @@ qga_ss = qga_ss.apply(config_host, strict: false)
qga = executable('qemu-ga', qga_ss.sources(),
link_args: config_host['LIBS_QGA'].split(),
dependencies: [qemuutil, libudev])
+all_qga = [qga]
if host_machine.system() == 'windows'
if 'CONFIG_QGA_VSS' in config_host
@@ -71,6 +72,9 @@ if host_machine.system() == 'windows'
config_host['QEMU_GA_MSI_WITH_VSS'].split(),
config_host['QEMU_GA_MSI_MINGW_DLL_PATH'].split(),
])
+ all_qga += [qga-msi]
alias_target('msi', qga_msi)
endif
+
+ alias_target('qga/qemu-ga', all_qga)
endif
diff --git a/qga/vss-win32/meson.build b/qga/vss-win32/meson.build
index 1f39e05..780c461 100644
--- a/qga/vss-win32/meson.build
+++ b/qga/vss-win32/meson.build
@@ -14,6 +14,8 @@ if add_languages('cpp', required: false)
cc.find_library('shlwapi'),
cc.find_library('uuid'),
cc.find_library('intl')])
+
+ all_qga += qga_vss
endif
# rules to build qga-vss.tlb
--
1.8.3.1
- [PATCH 028/143] contrib/rdmacm-mux: convert to Meson, (continued)
- [PATCH 028/143] contrib/rdmacm-mux: convert to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 027/143] contrib/vhost-user-scsi: convert to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 026/143] contrib/vhost-user-blk: convert to Meson, Paolo Bonzini, 2020/08/06
- [PATCH 029/143] contrib/vhost-user-input: convert to meson, Paolo Bonzini, 2020/08/06
- [PATCH 032/143] contrib/elf2dmp: convert to meson, Paolo Bonzini, 2020/08/06
- [PATCH 030/143] contrib/vhost-user-gpu: convert to meson, Paolo Bonzini, 2020/08/06
- [PATCH 034/143] meson: convert vss-win32, Paolo Bonzini, 2020/08/06
- [PATCH 031/143] contrib/ivshmem: convert to meson, Paolo Bonzini, 2020/08/06
- [PATCH 033/143] meson: convert qemu-ga, Paolo Bonzini, 2020/08/06
- [PATCH 035/143] meson: add msi generation, Paolo Bonzini, 2020/08/06
- [PATCH 036/143] meson: convert dummy Windows qga/qemu-ga target,
Paolo Bonzini <=
- [PATCH 037/143] meson: add qemu-bridge-helper, Paolo Bonzini, 2020/08/06
- [PATCH 038/143] meson: add qemu-keymap, Paolo Bonzini, 2020/08/06
- [PATCH 039/143] meson: add qemu-edid, Paolo Bonzini, 2020/08/06
- [PATCH 040/143] meson: add virtfs-proxy-helper, Paolo Bonzini, 2020/08/06
- [PATCH 041/143] meson: keymap-gen, Paolo Bonzini, 2020/08/06
- [PATCH 042/143] meson: generate qemu-version.h, Paolo Bonzini, 2020/08/06