diff mbox

ndctl: fixup recommended unit test build procedure

Message ID 147283553552.36008.1894782621608987887.stgit@dwillia2-desk3.amr.corp.intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Dan Williams Sept. 2, 2016, 4:58 p.m. UTC
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 mbox

Patch

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`,