summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Rettberg2024-06-28 09:52:03 +0200
committerSimon Rettberg2024-06-28 09:52:03 +0200
commitf130187d73706e3cd10aec14a255d039b679dd69 (patch)
tree75a6d2e3cdb3067a60c3d97e784f87d0aea68f84
parent[qemu-src] Bump default version to 9.1.0 (diff)
downloadmltk-f130187d73706e3cd10aec14a255d039b679dd69.tar.gz
mltk-f130187d73706e3cd10aec14a255d039b679dd69.tar.xz
mltk-f130187d73706e3cd10aec14a255d039b679dd69.zip
[evdi] Fix build with latest version
-rw-r--r--core/modules/evdi/module.build8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/modules/evdi/module.build b/core/modules/evdi/module.build
index 4202e365..1868506d 100644
--- a/core/modules/evdi/module.build
+++ b/core/modules/evdi/module.build
@@ -6,11 +6,11 @@ fetch_source() {
build() {
local dir
- cde "${MODULE_WORK_DIR}/src/evdi/module"
- make -C "$KERNEL_HEADERS_DIR" M=$(pwd) \
+ cde "${MODULE_WORK_DIR}/src/evdi"
+ make module CONFIG_DRM_EVDI=m KDIR="$KERNEL_HEADERS_DIR" \
|| perror "Could not make .ko"
dir="${MODULE_BUILD_DIR}/lib/modules/${TARGET_KERNEL_LONG}/kernel/extra"
mkdir -p "$dir"
- cp evdi.ko "$dir/" \
- || perror "Couldnotopcy"
+ cp module/evdi.ko "$dir/" \
+ || perror "Couldnotopcy evdi.ko"
}