diff options
Diffstat (limited to 'core/modules/evdi/module.build')
-rw-r--r-- | core/modules/evdi/module.build | 16 |
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" +} |