summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/Makefile.in b/module/Makefile.in
index 49bdaa808..41c10101e 100644
--- a/module/Makefile.in
+++ b/module/Makefile.in
@@ -22,7 +22,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 \