diff options
-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 | ||||
l--------- | core/targets/bwlp/evdi | 1 |
4 files changed, 27 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" diff --git a/core/targets/bwlp/evdi b/core/targets/bwlp/evdi new file mode 120000 index 00000000..8b4a5fde --- /dev/null +++ b/core/targets/bwlp/evdi @@ -0,0 +1 @@ +../../modules/evdi
\ No newline at end of file |