@@ -776,3 +776,4 @@ all: $(QEMU_IOTESTS_HELPERS-y)
-include $(wildcard tests/*.d)
-include $(wildcard tests/libqos/*.d)
+-include $(SRC_PATH)/tests/tcg/Makefile.include
new file mode 100644
@@ -0,0 +1,20 @@
+UNAME_P := $(shell uname -p)
+
+tests-tcg: misc
+
+x86_64:
+ cd $(SRC_PATH)/tests/tcg/i386 && make
+i386:
+ cd $(SRC_PATH)/tests/tcg/i386 && make
+
+arm:
+ cd $(SRC_PATH)/tests/tcg/arm && make
+aarch64:
+ cd $(SRC_PATH)/tests/tcg/arm && make
+
+misc:
+ cd $(SRC_PATH)/tests/tcg/misc && make
+ make $(UNAME_P)
+
+.PHONY: tests-tcg
+
Signed-off-by: Pranith Kumar <bobby.prani@gmail.com> --- tests/Makefile.include | 1 + tests/tcg/Makefile.include | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 tests/tcg/Makefile.include