about summary refs log tree commit diff
path: root/debian/tests/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/Makefile')
-rw-r--r--debian/tests/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/tests/Makefile b/debian/tests/Makefile
new file mode 100644
index 00000000..77b9baab
--- /dev/null
+++ b/debian/tests/Makefile
@@ -0,0 +1,8 @@
+
+obj-m += fake-rfkill.o
+
+fake-rfkill:
+	make -C /lib/modules/$(shell uname -r)/build KBUILD_SRC=/lib/modules/$(shell uname -r)/build M=$(shell pwd)/debian/tests
+
+clean-rfkill:
+	make -C /lib/modules/$(shell uname -r)/build KBUILD_SRC=/lib/modules/$(shell uname -r)/build M=$(shell pwd)/debian/tests clean