From 60bdd98ef69a4ec9336af71935de91530381ddc7 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Wed, 23 Feb 2022 18:43:38 +0100 Subject: [evdi] New module: Virtual DisplayInterface --- .../evdi/data/etc/modprobe.d/evdi-output-num.conf | 1 + core/modules/evdi/module.build | 16 ++++++++++++++++ core/modules/evdi/module.conf | 9 +++++++++ 3 files changed, 26 insertions(+) create mode 100644 core/modules/evdi/data/etc/modprobe.d/evdi-output-num.conf create mode 100644 core/modules/evdi/module.build create mode 100644 core/modules/evdi/module.conf (limited to 'core/modules/evdi') 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" -- cgit v1.2.3-55-g7522