[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 4/4] tests/tcg: Add tests-tcg hook in Makefile
From: |
Pranith Kumar |
Subject: |
[Qemu-devel] [PATCH v2 4/4] tests/tcg: Add tests-tcg hook in Makefile |
Date: |
Mon, 29 Aug 2016 18:49:19 -0400 |
Signed-off-by: Pranith Kumar <address@hidden>
---
tests/Makefile.include | 1 +
tests/tcg/Makefile.include | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+)
create mode 100644 tests/tcg/Makefile.include
diff --git a/tests/Makefile.include b/tests/Makefile.include
index 14be491..141281b 100644
--- a/tests/Makefile.include
+++ b/tests/Makefile.include
@@ -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
diff --git a/tests/tcg/Makefile.include b/tests/tcg/Makefile.include
new file mode 100644
index 0000000..563a097
--- /dev/null
+++ b/tests/tcg/Makefile.include
@@ -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
+
--
2.9.3