aboutsummaryrefslogtreecommitdiff
path: root/kmap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kmap/Makefile')
-rw-r--r--kmap/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/kmap/Makefile b/kmap/Makefile
new file mode 100644
index 0000000..62aa5c8
--- /dev/null
+++ b/kmap/Makefile
@@ -0,0 +1,8 @@
+obj-m += test.o
+test-objs := kmap.o test_kmap.o
+
+all:
+ make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
+
+clean:
+ make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean