aboutsummaryrefslogtreecommitdiffstats
path: root/src/kernel/Makefile
diff options
context:
space:
mode:
authorFilip Wieladek <wattos@gmail.com>2013-05-11 17:07:28 +0200
committerFilip Wieladek <wattos@gmail.com>2013-05-11 17:07:28 +0200
commitd1fa1eb19eeaa95b673e695e48da090be4f55f37 (patch)
tree6ddaba8edbbbb1c90a6efaec947af7ed337766f3 /src/kernel/Makefile
initial version
Diffstat (limited to 'src/kernel/Makefile')
-rw-r--r--src/kernel/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/kernel/Makefile b/src/kernel/Makefile
new file mode 100644
index 0000000..ee91069
--- /dev/null
+++ b/src/kernel/Makefile
@@ -0,0 +1,15 @@
+
+KVERSION = $(shell uname -r)
+KDIR := /lib/modules/$(KVERSION)/build
+PWD := $(shell pwd)
+
+obj-m = hid-lg-g710-plus.o
+
+default: build
+
+build:
+ make -C $(KDIR) M=$(PWD) modules
+clean:
+ make -C $(KDIR) M=$(PWD) clean
+install:
+ make -C $(KDIR) M=$(PWD) modules_install \ No newline at end of file