summaryrefslogtreecommitdiffstats
path: root/remote/modules/dnbd3
diff options
context:
space:
mode:
authorJonathan Bauer2014-03-24 13:45:53 +0100
committerJonathan Bauer2014-03-24 13:45:53 +0100
commit7cd3eb5224e61fd7bf150594aac4200b347d45b4 (patch)
treef1edec358ad56d5b5edf3ed3814c9e84505e614c /remote/modules/dnbd3
parent[vmware] adapted .build to new kernel stuff (diff)
downloadtm-scripts-7cd3eb5224e61fd7bf150594aac4200b347d45b4.tar.gz
tm-scripts-7cd3eb5224e61fd7bf150594aac4200b347d45b4.tar.xz
tm-scripts-7cd3eb5224e61fd7bf150594aac4200b347d45b4.zip
[dnbd3] adapted .build to new kernel functions
Diffstat (limited to 'remote/modules/dnbd3')
-rw-r--r--remote/modules/dnbd3/dnbd3.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/dnbd3/dnbd3.build b/remote/modules/dnbd3/dnbd3.build
index e285788b..2651daac 100644
--- a/remote/modules/dnbd3/dnbd3.build
+++ b/remote/modules/dnbd3/dnbd3.build
@@ -25,7 +25,7 @@ HEREEND
build() {
cd "$MODULE_DIR/src/kmod" || perror "Could not CD to standalone dnbd3 kmod dir"
- make MODULE_NAME=dnbd3 KDIR="$MODULES_DIR/kernel/ksrc" || perror "Could not compile kernel module"
+ make MODULE_NAME=dnbd3 KDIR="$KERNEL_HEADERS_PATH" || perror "Could not compile kernel module"
mkdir -p "$MODULE_BUILD_DIR/lib/modules/dnbd3" || perror "Could not create lib/modules/dnbd3"
mkdir -p "$MODULE_BUILD_DIR/opt/openslx/bin" || perror "Coould not create opt/openslx/bin"
cp "$MODULE_DIR/src/kmod/dnbd3.ko" "$MODULE_BUILD_DIR/lib/modules/dnbd3/" || perror "could not cp dnbd3.ko"