OSDN Git Service

qtest: fix out of tree build
authorBlue Swirl <blauwirbel@gmail.com>
Fri, 30 Mar 2012 17:39:33 +0000 (17:39 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Fri, 30 Mar 2012 17:39:33 +0000 (17:39 +0000)
Trace objects are also needed if tracing is enabled.

Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tests/Makefile

index 29c1e51..a98a848 100644 (file)
@@ -63,6 +63,8 @@ tests/test-qmp-input-visitor$(EXESUF): tests/test-qmp-input-visitor.o $(test-qap
 tests/test-qmp-input-strict$(EXESUF): tests/test-qmp-input-strict.o $(test-qapi-obj-y)
 tests/test-qmp-commands$(EXESUF): tests/test-qmp-commands.o tests/test-qmp-marshal.o $(test-qapi-obj-y)
 
+tests/rtc-test$(EXESUF): tests/rtc-test.o $(trace-obj-y)
+
 # QTest rules
 
 TARGETS=$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_DIRS)))