diff options
author | Simon Rettberg | 2022-02-23 18:43:38 +0100 |
---|---|---|
committer | Simon Rettberg | 2022-02-23 18:43:38 +0100 |
commit | 60bdd98ef69a4ec9336af71935de91530381ddc7 (patch) | |
tree | e0c731646e2b8275b1f8ae6383c81aaacf6a0b9a /core/modules/evdi | |
parent | [dnbd3-proxy-mode] Split dnbd0 local caching split into own unit (diff) | |
download | mltk-60bdd98ef69a4ec9336af71935de91530381ddc7.tar.gz mltk-60bdd98ef69a4ec9336af71935de91530381ddc7.tar.xz mltk-60bdd98ef69a4ec9336af71935de91530381ddc7.zip |
[evdi] New module: Virtual DisplayInterface
Diffstat (limited to 'core/modules/evdi')
-rw-r--r-- | core/modules/evdi/data/etc/modprobe.d/evdi-output-num.conf | 1 | ||||
-rw-r--r-- | core/modules/evdi/module.build | 16 | ||||
-rw-r--r-- | core/modules/evdi/module.conf | 9 |
3 files changed, 26 insertions, 0 deletions
diff --git a/core/modules/evdi/data/etc/modprobe.d/evdi-output-num.conf b/core/modules/evdi/data/etc/modprobe.d/evdi-output-num.conf new file mode 100644 index 00000000..93290772 --- /dev/null +++ b/core/modules/evdi/data/etc/modprobe.d/evdi-output-num.conf @@ -0,0 +1 @@ +options evdi initial_device_count=1 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" +} diff --git a/core/modules/evdi/module.conf b/core/modules/evdi/module.conf new file mode 100644 index 00000000..90c2a5ef --- /dev/null +++ b/core/modules/evdi/module.conf @@ -0,0 +1,9 @@ +#!/bin/bash + +REQUIRED_GIT="https://github.com/DisplayLink/evdi.git" + +REQUIRED_FILES=" + /lib/modules/${TARGET_KERNEL_LONG}/extra/evdi.ko +" + +REQUIRED_MODULES="kernel" |