@@ -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`,
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(-)