From: Dave Reisner Date: Thu, 28 Jun 2012 15:16:36 +0000 (-0400) Subject: Implicitly run 'make rootfs' with 'make check' X-Git-Tag: v10~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2588e3dff5d2ac36fd38c19049749d8150524d1c;p=thirdparty%2Fkmod.git Implicitly run 'make rootfs' with 'make check' Avoid the need for the user to run this manually after a run of the testsuite by adding it. --- diff --git a/Makefile.am b/Makefile.am index a3a36982..a04a01f8 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)