summaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-16 12:26:09 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2009-09-16 16:00:54 -0300
commit6a273b286e36d5bb11d249da326a666ecc0614d4 (patch)
treeb6fe5715e196c9bbf9b5a4670fd138663a575aa6 /kvm
parenttest: Fix compilation rule for assembly files wrt autodependencies (diff)
downloadqemu-kvm-6a273b286e36d5bb11d249da326a666ecc0614d4.tar.gz
qemu-kvm-6a273b286e36d5bb11d249da326a666ecc0614d4.tar.bz2
qemu-kvm-6a273b286e36d5bb11d249da326a666ecc0614d4.zip
test: avoid deleting intermediate .o files
If make doesn't see an intermediate file mentioned explicitly, it deletes it after making the target. This silly behaviour causes needless rebuilds. Add all intermediates as explicit dependncies to prevent this behaviour. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm')
-rw-r--r--kvm/user/config-x86-common.mak9
1 files changed, 8 insertions, 1 deletions
diff --git a/kvm/user/config-x86-common.mak b/kvm/user/config-x86-common.mak
index 9d6d281e6..3f279ed77 100644
--- a/kvm/user/config-x86-common.mak
+++ b/kvm/user/config-x86-common.mak
@@ -48,7 +48,8 @@ $(TEST_DIR)/test32.flat: $(TEST_DIR)/test32.o
$(TEST_DIR)/smptest.flat: $(cstart.o) $(TEST_DIR)/smptest.o
-$(TEST_DIR)/emulator.flat: $(cstart.o) $(TEST_DIR)/vm.o $(TEST_DIR)/print.o
+$(TEST_DIR)/emulator.flat: $(cstart.o) $(TEST_DIR)/emulator.o \
+ $(TEST_DIR)/vm.o $(TEST_DIR)/print.o
$(TEST_DIR)/port80.flat: $(cstart.o) $(TEST_DIR)/port80.o
@@ -62,6 +63,12 @@ $(TEST_DIR)/realmode.flat: $(TEST_DIR)/realmode.o
$(TEST_DIR)/realmode.o: bits = 32
+$(TEST_DIR)/memtest1.flat: $(TEST_DIR)/memtest1.o
+
+$(TEST_DIR)/stringio.flat: $(TEST_DIR)/stringio.o
+
+$(TEST_DIR)/simple.flat: $(TEST_DIR)/simple.o
+
$(TEST_DIR)/msr.flat: $(cstart.o) $(TEST_DIR)/msr.o
arch_clean: