|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH v2 6/8] tools/tests: Allow a test subdir to have `install' and `uninstall' targets
Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
---
v2: New patch
---
tools/tests/Makefile | 7 ++-----
tools/tests/depriv/Makefile | 2 ++
tools/tests/mce-test/Makefile | 2 ++
tools/tests/mem-sharing/Makefile | 2 ++
tools/tests/xen-access/Makefile | 2 ++
tools/tests/xenstore/Makefile | 2 ++
6 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/tools/tests/Makefile b/tools/tests/Makefile
index f6942a9..26c46b4 100644
--- a/tools/tests/Makefile
+++ b/tools/tests/Makefile
@@ -13,11 +13,8 @@ endif
SUBDIRS-$(CONFIG_X86) += x86_emulator
SUBDIRS-y += xen-access
SUBDIRS-y += xenstore
+SUBDIRS-y += depriv
SUBDIRS-$(CONFIG_HAS_PCI) += vpci
.PHONY: all clean install distclean uninstall
-all clean distclean: %: subdirs-%
-
-install:
-
-uninstall:
+all clean distclean install uninstall: %: subdirs-%
diff --git a/tools/tests/depriv/Makefile b/tools/tests/depriv/Makefile
index 2af1e29..643d2c5 100644
--- a/tools/tests/depriv/Makefile
+++ b/tools/tests/depriv/Makefile
@@ -39,4 +39,6 @@ clean:
.PHONY: distclean
distclean: clean
+install uninstall:
+
-include $(DEPS_INCLUDE)
diff --git a/tools/tests/mce-test/Makefile b/tools/tests/mce-test/Makefile
index 07a774a..1395df3 100644
--- a/tools/tests/mce-test/Makefile
+++ b/tools/tests/mce-test/Makefile
@@ -8,3 +8,5 @@ clean:
distclean:
$(MAKE) -C tools distclean
+
+install uninstall:
diff --git a/tools/tests/mem-sharing/Makefile b/tools/tests/mem-sharing/Makefile
index 497696f..5cd96e4 100644
--- a/tools/tests/mem-sharing/Makefile
+++ b/tools/tests/mem-sharing/Makefile
@@ -27,3 +27,5 @@ memshrtool: memshrtool.o
$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl)
-include $(DEPS_INCLUDE)
+
+install uninstall:
diff --git a/tools/tests/xen-access/Makefile b/tools/tests/xen-access/Makefile
index 0ca3f6f..131c9f3 100644
--- a/tools/tests/xen-access/Makefile
+++ b/tools/tests/xen-access/Makefile
@@ -28,4 +28,6 @@ distclean: clean
xen-access: xen-access.o Makefile
$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest)
$(LDLIBS_libxenevtchn)
+install uninstall:
+
-include $(DEPS_INCLUDE)
diff --git a/tools/tests/xenstore/Makefile b/tools/tests/xenstore/Makefile
index b37b90d..a367d88 100644
--- a/tools/tests/xenstore/Makefile
+++ b/tools/tests/xenstore/Makefile
@@ -24,4 +24,6 @@ distclean: clean
xs-test: xs-test.o Makefile
$(CC) -o $@ $< $(LDFLAGS) $(LDLIBS_libxenstore)
+install uninstall:
+
-include $(DEPS_INCLUDE)
--
2.1.4
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |