summaryrefslogtreecommitdiff
path: root/DeviceModel/cembus/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'DeviceModel/cembus/Makefile')
-rw-r--r--DeviceModel/cembus/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/DeviceModel/cembus/Makefile b/DeviceModel/cembus/Makefile
new file mode 100644
index 0000000..2327045
--- /dev/null
+++ b/DeviceModel/cembus/Makefile
@@ -0,0 +1,13 @@
+obj-m += cembus.o
+
+ifdef LINUX_SOURCE
+ KDIR = $(LINUX_SOURCE)
+endif
+
+ KDIR ?= /lib/modules/`uname -r`/build
+
+all:
+ make -C $(KDIR) M=$(PWD) modules
+
+clean:
+ make -C $(KDIR) M=$(PWD) clean