aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/ced1401/Makefile
diff options
context:
space:
mode:
authorAlois Schlögl <alois.schloegl@ist.ac.at>2012-09-17 19:22:52 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-09-17 19:45:28 -0700
commit2eae6bdc12f4e49b7f94f032b82d664dcf3881bc (patch)
tree15158b8c45927f10f964b11b538725bcf8e1a695 /drivers/staging/ced1401/Makefile
parent57991b6bfc2b0faafb7d42edbd1673903d76b853 (diff)
downloadkernel_goldelico_gta04-2eae6bdc12f4e49b7f94f032b82d664dcf3881bc.zip
kernel_goldelico_gta04-2eae6bdc12f4e49b7f94f032b82d664dcf3881bc.tar.gz
kernel_goldelico_gta04-2eae6bdc12f4e49b7f94f032b82d664dcf3881bc.tar.bz2
Staging: add ced1401 USB driver
This was imported from the http://pub.ist.ac.at/~schloegl/src/ced1401/.git git repo at the request of Alois. The driver originally came from Cambridge Electronic Design Ltd and was authored by Greg P Smith and others, but Alois did the maintance work to get it into a semi-building state and pushed to get it into the main kernel tree here. Cc: Alois Schlögl <alois.schloegl@ist.ac.at> Cc: Greg P. Smith <greg@ced.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ced1401/Makefile')
-rw-r--r--drivers/staging/ced1401/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/staging/ced1401/Makefile b/drivers/staging/ced1401/Makefile
new file mode 100644
index 0000000..6acb031
--- /dev/null
+++ b/drivers/staging/ced1401/Makefile
@@ -0,0 +1,12 @@
+obj-m := cedusb.o
+cedusb-objs := usb1401.o ced_ioc.o
+KDIR := /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+KBUILD_EXTRA_SYMBOLS := $(PWD)
+EXTRA_CFLAGS = -I$(HOME)/src/ced1401
+all:
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
+
+clean:
+ $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) clean
+