@@ -40,12 +40,9 @@ This will be used to emulate DAX.
`CONFIG_ND_BLK=m`
`CONFIG_ND_BTT=m`
-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 -C tools/testing/nvdimm/`
-`sudo make -C tools/testing/nvdimm/ install`
-`sudo make modules_install`
+4. Build and install the unit test enabled libnvdimm modules.
+`make M=tools/testing/nvdimm/`
+`sudo make M=tools/testing/nvdimm/ modules_install`
5. Now run `make check` in the ndctl source directory, or `ndctl test`,
if ndctl was built with `--enable-test`.
Use "M=tools/testing/nvdimm" from the kernel build directory rather than "-C tools/testing/nvdimm". This arranges for the unit test modules to honor a "localversion" file like the one distributed by the -next tree. Also switch from 'install' to 'modules_install' to trigger depmod to run after the modules are installed. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- README.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-)