summaryrefslogtreecommitdiffstats
path: root/usb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usb/Makefile')
-rw-r--r--usb/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/usb/Makefile b/usb/Makefile
new file mode 100644
index 0000000..028111f
--- /dev/null
+++ b/usb/Makefile
@@ -0,0 +1,11 @@
+obj-m := usb-skeleton.o
+
+KERNELDIR ?= /lib/modules/$(shell uname -r)/build
+PWD := $(shell pwd)
+
+all:
+ $(MAKE) -C $(KERNELDIR) M=$(PWD)
+
+clean:
+ rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
+