summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-16 12:26:08 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2009-09-16 16:00:54 -0300
commite4c82789af62a7a319fe8ec527eb627919c22d63 (patch)
treeaf82c7f0539d1b654e0329ddd0f9bee445e33b9a
parenttest: fix autodependencies (diff)
downloadqemu-kvm-e4c82789af62a7a319fe8ec527eb627919c22d63.tar.gz
qemu-kvm-e4c82789af62a7a319fe8ec527eb627919c22d63.tar.bz2
qemu-kvm-e4c82789af62a7a319fe8ec527eb627919c22d63.zip
test: Fix compilation rule for assembly files wrt autodependencies
Only compile the first dependency (the source file), not the rest (headers). Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
-rw-r--r--kvm/user/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvm/user/Makefile b/kvm/user/Makefile
index d9fbf17f4..ed462bb57 100644
--- a/kvm/user/Makefile
+++ b/kvm/user/Makefile
@@ -52,7 +52,7 @@ $(libcflat): $(cflatobjs)
$(AR) rcs $@ $^
%.o: %.S
- $(CC) $(CFLAGS) -c -nostdlib -o $@ $^
+ $(CC) $(CFLAGS) -c -nostdlib -o $@ $<
-include .*.d