Received: from eggs.gnu.org ([2001:4830:134:3::10]:40018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7Umt-0003He-SJ for qemu-devel@nongnu.org; Thu, 08 Aug 2013 14:18:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V7Ump-0007RO-0f for qemu-devel@nongnu.org; Thu, 08 Aug 2013 14:18:15 -0400 Received: from qemu.weilnetz.de ([37.221.198.45]:46573 helo=v2201305906712890.yourvserver.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V7Umo-0007RE-Rq for qemu-devel@nongnu.org; Thu, 08 Aug 2013 14:18:10 -0400 From: Stefan Weil Date: Thu, 8 Aug 2013 20:18:07 +0200 Message-Id: <1375985887-3984-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH v2 for 1.6] w32: Add missing version.o to all executables (fix regression) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Paolo Bonzini , Anthony Liguori , Stefan Weil QEMU executables for w32, w64 had included meta information built from version.rc. These rules were changed several times some months ago. The latest version added version.o to the tools, but not to the system emulations. This patch adds the meta information to all system emulations again. Signed-off-by: Stefan Weil --- v2: This is a minimal fix for QEMU 1.6 based on Paolo's suggestion. It can be improved later. Regards, Stefan Makefile | 7 ++----- Makefile.objs | 5 +++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 29f1043..4d257f1 100644 --- a/Makefile +++ b/Makefile @@ -167,11 +167,8 @@ recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES) bt-host.o: QEMU_CFLAGS += $(BLUEZ_CFLAGS) -version.o: $(SRC_PATH)/version.rc config-host.h | version.lo -version.lo: $(SRC_PATH)/version.rc config-host.h - -version-obj-$(CONFIG_WIN32) += version.o -version-lobj-$(CONFIG_WIN32) += version.lo +$(BUILD_DIR)/version.o: $(SRC_PATH)/version.rc $(BUILD_DIR)/config-host.h | $(BUILD_DIR)/version.lo +$(BUILD_DIR)/version.lo: $(SRC_PATH)/version.rc $(BUILD_DIR)/config-host.h Makefile: $(version-obj-y) $(version-lobj-y) diff --git a/Makefile.objs b/Makefile.objs index 9928542..f46a4cd 100644 --- a/Makefile.objs +++ b/Makefile.objs @@ -99,6 +99,11 @@ common-obj-y += qom/ common-obj-y += disas/ ###################################################################### +# Resource file for Windows executables +version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o +version-lobj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.lo + +###################################################################### # guest agent # FIXME: a few definitions from qapi-types.o/qapi-visit.o are needed -- 1.7.10.4