summaryrefslogtreecommitdiff
path: root/tests/mod_system_logger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mod_system_logger/Makefile')
-rw-r--r--tests/mod_system_logger/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/mod_system_logger/Makefile b/tests/mod_system_logger/Makefile
new file mode 100644
index 0000000..fbe0d48
--- /dev/null
+++ b/tests/mod_system_logger/Makefile
@@ -0,0 +1,7 @@
+obj-m := mod_system_logger.o
+KDIR := /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+default:
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
+clean:
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean