[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 132/143] rules.mak: remove version.o
From: |
Paolo Bonzini |
Subject: |
[PATCH 132/143] rules.mak: remove version.o |
Date: |
Thu, 6 Aug 2020 21:16:08 +0200 |
From: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
Makefile | 5 -----
Makefile.objs | 4 ----
rules.mak | 4 +---
3 files changed, 1 insertion(+), 12 deletions(-)
diff --git a/Makefile b/Makefile
index 1f89680..603869d 100644
--- a/Makefile
+++ b/Makefile
@@ -226,11 +226,6 @@ recurse-clean: $(addsuffix /clean, $(TARGET_DIRS)
$(ROM_DIRS))
recurse-install: $(addsuffix /install, $(TARGET_DIRS))
$(addsuffix /install, $(TARGET_DIRS)): all
-$(BUILD_DIR)/version.o: $(SRC_PATH)/version.rc config-host.h
- $(call quiet-command,$(WINDRES) -I$(BUILD_DIR) -o $@
$<,"RC","version.o")
-
-Makefile: $(version-obj-y)
-
######################################################################
clean: recurse-clean
diff --git a/Makefile.objs b/Makefile.objs
index 9f73e86..306d81d 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -31,7 +31,3 @@ crypto-obj-y = crypto/libcrypto.fa
io-obj-y = io/libio.fa
endif # CONFIG_SOFTMMU or CONFIG_TOOLS
-
-######################################################################
-# Resource file for Windows executables
-version-obj-$(CONFIG_WIN32) += $(BUILD_DIR)/version.o
diff --git a/rules.mak b/rules.mak
index b983c7f..6d89001 100644
--- a/rules.mak
+++ b/rules.mak
@@ -77,8 +77,6 @@ expand-objs = $(strip $(sort $(filter %.o,$1)) \
$(call quiet-command,$(CC) $(QEMU_LOCAL_INCLUDES) $(QEMU_INCLUDES) \
$(QEMU_CFLAGS) $(QEMU_DGFLAGS) $(CFLAGS) $($@-cflags) \
-c -o $@ $<,"CC","$(TARGET_DIR)$@")
-%.o: %.rc
- $(call quiet-command,$(WINDRES) -I. -o $@ $<,"RC","$(TARGET_DIR)$@")
# If we have a CXX we might have some C++ objects, in which case we
# must link with the C++ compiler, not the plain C compiler.
@@ -86,7 +84,7 @@ LINKPROG = $(or $(CXX),$(CC))
LINK = $(call quiet-command, $(LINKPROG) $(CFLAGS) $(QEMU_LDFLAGS) -o $@ \
$(call process-archive-undefs, $1) \
- $(version-obj-y) $(call extract-libs,$1)
$(LIBS),"LINK","$(TARGET_DIR)$@")
+ $(call extract-libs,$1) $(LIBS),"LINK","$(TARGET_DIR)$@")
%.o: %.S
$(call quiet-command,$(CCAS) $(QEMU_LOCAL_INCLUDES) $(QEMU_INCLUDES) \
--
1.8.3.1
- [PATCH 125/143] meson: accel, (continued)
- [PATCH 125/143] meson: accel, Paolo Bonzini, 2020/08/06
- [PATCH 126/143] meson: linux-user, Paolo Bonzini, 2020/08/06
- [PATCH 127/143] meson: bsd-user, Paolo Bonzini, 2020/08/06
- [PATCH 124/143] meson: target, Paolo Bonzini, 2020/08/06
- [PATCH 129/143] meson: plugins, Paolo Bonzini, 2020/08/06
- [PATCH 128/143] meson: cpu-emu, Paolo Bonzini, 2020/08/06
- [PATCH 131/143] meson: convert systemtap files, Paolo Bonzini, 2020/08/06
- [PATCH 130/143] meson: link emulators without Makefile.target, Paolo Bonzini, 2020/08/06
- [PATCH 132/143] rules.mak: remove version.o,
Paolo Bonzini <=
- [PATCH 133/143] remove Makefile.target, Paolo Bonzini, 2020/08/06
- [PATCH 135/143] meson: build texi doc, Paolo Bonzini, 2020/08/06
- [PATCH 136/143] meson: convert check-block, Paolo Bonzini, 2020/08/06
- [PATCH 138/143] meson: replace create-config with meson configure_file, Paolo Bonzini, 2020/08/06
- [PATCH 140/143] meson: move SDL and SDL-image detection to meson, Paolo Bonzini, 2020/08/06
- [PATCH 139/143] meson: convert sample plugins, Paolo Bonzini, 2020/08/06
- [PATCH 134/143] meson: sphinx-build, Paolo Bonzini, 2020/08/06
- [PATCH 141/143] meson: convert VNC and dependent libraries to meson, Paolo Bonzini, 2020/08/06
- [PATCH 137/143] rules.mak: drop unneeded macros, Paolo Bonzini, 2020/08/06
- [PATCH 142/143] meson: convert po/, Paolo Bonzini, 2020/08/06