summaryrefslogtreecommitdiffstats
path: root/Makefile.objs
diff options
context:
space:
mode:
authorBlue Swirl2012-05-01 20:45:39 +0200
committerBlue Swirl2013-01-06 09:15:08 +0100
commit1d728c394652d40a9065668606d62f28bc544949 (patch)
tree6f6ef35d2942115f40e1b84ac1d548af74697e23 /Makefile.objs
parenthw/i386: Fix broken build for non POSIX hosts (diff)
downloadqemu-1d728c394652d40a9065668606d62f28bc544949.tar.gz
qemu-1d728c394652d40a9065668606d62f28bc544949.tar.xz
qemu-1d728c394652d40a9065668606d62f28bc544949.zip
tests: add gcov support
Add support for compiling for GCOV test coverage, enabled with '--enable-gcov' during configure. Test coverage will be reported after each test. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'Makefile.objs')
-rw-r--r--Makefile.objs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.objs b/Makefile.objs
index 3a3a4028c5..a3eab4b410 100644
--- a/Makefile.objs
+++ b/Makefile.objs
@@ -31,6 +31,8 @@ oslib-obj-$(CONFIG_POSIX) += oslib-posix.o qemu-thread-posix.o
# coroutines
coroutine-obj-y = qemu-coroutine.o qemu-coroutine-lock.o qemu-coroutine-io.o
coroutine-obj-y += qemu-coroutine-sleep.o
+
+# If you change this logic, please also check tests/Makefile
ifeq ($(CONFIG_UCONTEXT_COROUTINE),y)
coroutine-obj-$(CONFIG_POSIX) += coroutine-ucontext.o
else