summaryrefslogtreecommitdiffstats
path: root/core/modules/evdi/module.build
diff options
context:
space:
mode:
authorSimon Rettberg2022-02-23 18:43:38 +0100
committerSimon Rettberg2022-02-23 18:43:38 +0100
commit60bdd98ef69a4ec9336af71935de91530381ddc7 (patch)
treee0c731646e2b8275b1f8ae6383c81aaacf6a0b9a /core/modules/evdi/module.build
parent[dnbd3-proxy-mode] Split dnbd0 local caching split into own unit (diff)
downloadmltk-60bdd98ef69a4ec9336af71935de91530381ddc7.tar.gz
mltk-60bdd98ef69a4ec9336af71935de91530381ddc7.tar.xz
mltk-60bdd98ef69a4ec9336af71935de91530381ddc7.zip
[evdi] New module: Virtual DisplayInterface
Diffstat (limited to 'core/modules/evdi/module.build')
-rw-r--r--core/modules/evdi/module.build16
1 files changed, 16 insertions, 0 deletions
diff --git a/core/modules/evdi/module.build b/core/modules/evdi/module.build
new file mode 100644
index 00000000..d6a9d39f
--- /dev/null
+++ b/core/modules/evdi/module.build
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+fetch_source() {
+ autoclone
+}
+
+build() {
+ local dir
+ cde "${MODULE_WORK_DIR}/src/evdi/module"
+ make -C "$KERNEL_HEADERS_DIR" M=$(pwd) \
+ || perror "Could not make .ko"
+ dir="${MODULE_BUILD_DIR}/lib/modules/${TARGET_KERNEL_LONG}/extra"
+ mkdir -p "$dir"
+ cp evdi.ko "$dir/" \
+ || perror "Couldnotopcy"
+}