summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/Makefile.in b/module/Makefile.in
index 4c6d38168..686402b1f 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -43,7 +43,8 @@ modules_install:
@# Install the kernel modules
$(MAKE) -C @LINUX_OBJ@ SUBDIRS=`pwd` $@ \
INSTALL_MOD_PATH=$(DESTDIR)$(INSTALL_MOD_PATH) \
- INSTALL_MOD_DIR=$(INSTALL_MOD_DIR)
+ INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) \
+ KERNELRELEASE=@LINUX_VERSION@
@# Remove extraneous build products when packaging
kmoddir=$(DESTDIR)$(INSTALL_MOD_PATH)/lib/modules/@LINUX_VERSION@; \
if [ -n $$kmoddir ]; then \