linux-nvdimm.lists.01.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ndctl: fixup recommended unit test build procedure
@ 2016-09-02 16:58 Dan Williams
  0 siblings, 0 replies; only message in thread
From: Dan Williams @ 2016-09-02 16:58 UTC (permalink / raw)
  To: linux-nvdimm; +Cc: Yilong Ren, Fengguang Wu

When building with -O and -C Yilong found the following build error:

    make[2]: *** No rule to make target
	'tools/testing/nvdimm//config_check.o', needed by
	'tools/testing/nvdimm//dax.o'.

It is addressed by dropping the trailing '/' off of the
"M=tools/testing/nvdimm" option passed to kbuild.

Reported-by: Yilong Ren <yilongx.ren@intel.com>
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 README.md |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index a3def786f188..7256c2f15e20 100644
--- a/README.md
+++ b/README.md
@@ -49,8 +49,8 @@ git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm.git`
 4. Build and install the unit test enabled libnvdimm modules in the
    following order.  The unit test modules need to be in place prior to
    the `depmod` that runs during the final `modules_install`  
-`make M=tools/testing/nvdimm/`  
-`sudo make M=tools/testing/nvdimm/ modules_install`  
+`make M=tools/testing/nvdimm`  
+`sudo make M=tools/testing/nvdimm modules_install`  
 `sudo make modules_install`
 
 5. Now run `make check` in the ndctl source directory, or `ndctl test`,

_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-02 17:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-02 16:58 [PATCH] ndctl: fixup recommended unit test build procedure Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).