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 <[email protected]>
Reported-by: Fengguang Wu <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
---
 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
[email protected]
https://lists.01.org/mailman/listinfo/linux-nvdimm

Reply via email to