summaryrefslogtreecommitdiff
path: root/recipes/libdlo/kernel-module-udlfb/Makefile
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-30 16:42:41 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-30 16:42:41 +0200
commitec01c7be7f7863a399b5a68c24e05c8ec83ddc63 (patch)
tree862361609d94cf09d6782161dc2e8285d0770df0 /recipes/libdlo/kernel-module-udlfb/Makefile
parent13ee19b077addb5f0c78e7ba8f6a6507c11c1bab (diff)
displaylink: add kernel-module-udlfb and libdlo, which are 2 ways of controlling displaylink based usb devices
Diffstat (limited to 'recipes/libdlo/kernel-module-udlfb/Makefile')
-rw-r--r--recipes/libdlo/kernel-module-udlfb/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/libdlo/kernel-module-udlfb/Makefile b/recipes/libdlo/kernel-module-udlfb/Makefile
new file mode 100644
index 0000000000..255d3f5480
--- /dev/null
+++ b/recipes/libdlo/kernel-module-udlfb/Makefile
@@ -0,0 +1,15 @@
+ifndef KERNELRELEASE
+
+PWD := $(shell pwd)
+all:
+ $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules
+clean:
+ rm -f *.o *.ko *.mod.* .*.cmd Module.symvers
+ rm -rf .tmp_versions
+
+install:
+ $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) modules_install
+
+else
+ obj-m := udlfb.o
+endif