summaryrefslogtreecommitdiffstats
path: root/usb/Makefile
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2010-11-27 07:49:17 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2010-11-27 07:49:17 +0100
commitab121f379a3cff458c90e6f480ba4bb68c8733dd (patch)
treea9851af109ee83646d108bc247d03b131461b764 /usb/Makefile
downloadldd3-ab121f379a3cff458c90e6f480ba4bb68c8733dd.tar.gz
Linux Device Drivers 3 examples
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
+