summaryrefslogtreecommitdiffstats
path: root/core/modules/evdi/module.build
blob: 4202e36586daaecd42a7ee0a0c423bdcb43bae1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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}/kernel/extra"
       mkdir -p "$dir"
       cp evdi.ko "$dir/" \
               || perror "Couldnotopcy"
}