summaryrefslogtreecommitdiffstats
path: root/remote/modules/dnbd3
diff options
context:
space:
mode:
authorSimon Rettberg2014-07-04 20:04:41 +0200
committerSimon Rettberg2014-07-04 20:04:41 +0200
commitb7a021b2df67c6d08457df32f3ba1514897ac70b (patch)
treef038199bdd92329808f1c54bf41d646d9dfe6fd3 /remote/modules/dnbd3
parent[downloader.inc] Special case sourceforge: Allow setting a mirror in ./config (diff)
downloadtm-scripts-b7a021b2df67c6d08457df32f3ba1514897ac70b.tar.gz
tm-scripts-b7a021b2df67c6d08457df32f3ba1514897ac70b.tar.xz
tm-scripts-b7a021b2df67c6d08457df32f3ba1514897ac70b.zip
Try to clean up the mess with all the different kernel version variables everywhere
Diffstat (limited to 'remote/modules/dnbd3')
-rw-r--r--remote/modules/dnbd3/module.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote/modules/dnbd3/module.build b/remote/modules/dnbd3/module.build
index 2651daac..cdbd8251 100644
--- a/remote/modules/dnbd3/module.build
+++ b/remote/modules/dnbd3/module.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="$KERNEL_HEADERS_PATH" || perror "Could not compile kernel module"
+ make MODULE_NAME=dnbd3 KDIR="$KERNEL_HEADERS_DIR" || 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"