Avoid the need for the user to run this manually after a run of the
testsuite by adding it.
---
Makefile.am | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Makefile.am b/Makefile.am
index a3a3698..a04a01f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -132,6 +132,7 @@ CREATE_ROOTFS = $(AM_V_GEN) ( $(RM) -rf $(ROOTFS) && \
rootfs:
$(CREATE_ROOTFS)
+.PHONY: rootfs
$(ROOTFS): $(ROOTFS_PRISTINE)
$(CREATE_ROOTFS)
@@ -142,6 +143,8 @@ TESTSUITE_OVERRIDE_LIBS = testsuite/uname.la
testsuite/path.la \
TESTSUITE_OVERRIDE_LIBS_LDFLAGS = avoid-version -module -shared
-export-dynamic \
-rpath /nowhere -ldl
+check-local: rootfs
+
check_LTLIBRARIES = $(TESTSUITE_OVERRIDE_LIBS)
testsuite_uname_la_LDFLAGS = $(TESTSUITE_OVERRIDE_LIBS_LDFLAGS)
--
1.7.11.1
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html