summaryrefslogtreecommitdiff
path: root/recipes/libdlo/kernel-module-udlfb/Makefile
diff options
context:
space:
mode:
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