aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@qumranet.com>2007-04-19 11:16:48 +0300
committerAvi Kivity <avi@qumranet.com>2007-04-19 11:16:48 +0300
commit7f78dd296021be2d3d42daa5d22aad848393bf7c (patch)
tree1cd8dcb702fbf6c8cc3489fcb1da2f9743bfa7d9
parente57779ee88a4f322c6ebe12eca7b7c8d216c622f (diff)
kvm: testsuite: 32/64 makefile fixes
-rw-r--r--kvm/user/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/kvm/user/Makefile b/kvm/user/Makefile
index 030d487f1..bf67a7204 100644
--- a/kvm/user/Makefile
+++ b/kvm/user/Makefile
@@ -11,8 +11,10 @@ DESTDIR =
ifeq ($(shell uname -m), x86_64)
LIBDIR = /lib64
+cstart.o = test/cstart64.o
else
LIBDIR = /lib
+cstart.o = test/cstart.o
endif
all: kvmctl libkvm.a
@@ -26,7 +28,7 @@ libkvm.a: kvmctl.o
flatfiles: test/simple.flat test/stringio.flat test/memtest1.flat \
test/irq.flat test/sieve.flat test/bootstrap \
- test/access.flat
+ test/access.flat test/vmexit.flat
install:
install -D kvmctl.h $(DESTDIR)/$(PREFIX)/include/kvmctl.h
@@ -45,11 +47,11 @@ test/bootstrap: test/bootstrap.o
test/irq.flat: test/print.o
-test/access.flat: test/cstart64.o test/access.o test/printf.o test/print.o
+test/access.flat: $(cstart.o) test/access.o test/printf.o test/print.o
-test/sieve.flat: test/cstart64.o test/sieve.o test/print.o test/vm.o
+test/sieve.flat: $(cstart.o) test/sieve.o test/print.o test/vm.o
-test/vmexit.flat: test/cstart.o test/vmexit.o test/printf.o
+test/vmexit.flat: $(cstart.o) test/vmexit.o test/printf.o
test/test32.flat: test/test32.o