summaryrefslogtreecommitdiffstats
path: root/tools/testing/nvdimm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/nvdimm/Makefile')
-rw-r--r--tools/testing/nvdimm/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/nvdimm/Makefile b/tools/testing/nvdimm/Makefile
new file mode 100644
index 000000000..c37a6a0bd
--- /dev/null
+++ b/tools/testing/nvdimm/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0
+KDIR ?= ../../../
+
+default:
+ $(MAKE) -C $(KDIR) M=$$PWD
+
+install: default
+ $(MAKE) -C $(KDIR) M=$$PWD modules_install