]> git.proxmox.com Git - qemu.git/commitdiff
w32: Add missing version.o to all executables (fix regression)
authorStefan Weil <sw@weilnetz.de>
Thu, 8 Aug 2013 18:18:07 +0000 (20:18 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 12 Aug 2013 14:19:05 +0000 (09:19 -0500)
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 <sw@weilnetz.de>
Message-id: 1375985887-3984-1-git-send-email-sw@weilnetz.de
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile
Makefile.objs

index 29f10436f8575a040bc1724ab218a3f8408a0799..4d257f1a52f1aae0f36e8f59a97b54603662ccf8 100644 (file)
--- 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)
 
index 9928542cdf27bfa6f91211065abeb8c32073b7fc..f46a4cdd6a099ec162e1129b5147f881efb123bf 100644 (file)
@@ -98,6 +98,11 @@ common-obj-y += hw/
 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