summaryrefslogtreecommitdiff
path: root/gpio/Makefile
diff options
context:
space:
mode:
authorNoé Rubinstein <nrubinstein@proformatique.com>2010-07-28 12:25:26 +0200
committerNoé Rubinstein <nrubinstein@proformatique.com>2010-07-28 12:25:26 +0200
commited6f4dbfa44f154af94776093a2b43fc7a8a7320 (patch)
treef005809a0ba245d6ca4f7ecfa1e6075db1fe7687 /gpio/Makefile
parentf10dbbcb7cd35ac9bc3406dab41177572faa884d (diff)
GPIO kernel interface driver
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
+