[PATCH QEMU-KVM 33/34] test: Fix compilation rule for assembly files wrt autodependencies

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Only compile the first dependency (the source file), not the rest
(headers).

Signed-off-by: Avi Kivity <avi@xxxxxxxxxx>
---
 kvm/user/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/kvm/user/Makefile b/kvm/user/Makefile
index d9fbf17..ed462bb 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
 
-- 
1.6.4.1

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux