about summary refs log tree commit diff
path: root/debian/tests/Makefile
diff options
context:
space:
mode:
authorJeremy Bicha <jbicha@ubuntu.com>2017-06-14 14:15:41 -0400
committerJeremy Bicha <jbicha@ubuntu.com>2017-11-12 14:34:52 -0500
commit47b8b51b2706215c4fb5b80e56b64eae57652470 (patch)
tree9a6338ee0e2b559646161efcb52130066131eafa /debian/tests/Makefile
parent61df4464f010cf4fb2f8c15c766e393414dc05c3 (diff)
Add autopkgtests
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