summaryrefslogtreecommitdiff
path: root/gpio/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'gpio/Makefile')
-rw-r--r--gpio/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/gpio/Makefile b/gpio/Makefile
new file mode 100644
index 0000000..c4cd3b7
--- /dev/null
+++ b/gpio/Makefile
@@ -0,0 +1,13 @@
+PWD := $(shell pwd)
+
+KSRC ?= /bad__ksrc__not_set
+
+obj-m := gpio.o
+modules:
+
+modules modules_install clean:
+ $(MAKE) -C $(KSRC) M=$(PWD) $@
+
+distclean: clean
+ rm -f Module.symvers
+