diff --git a/module/Makefile.in b/module/Makefile.in index 529ab81dcec5..f76e94afa410 100644 --- a/module/Makefile.in +++ b/module/Makefile.in @@ -90,6 +90,7 @@ modules_install-Linux: modules_uninstall-Linux-legacy $(MAKE) -C @LINUX_OBJ@ M="$$PWD" modules_install \ INSTALL_MOD_PATH=$(INSTALL_MOD_PATH) \ INSTALL_MOD_DIR=$(INSTALL_MOD_DIR) \ + $(if @KERNEL_ARCH@,ARCH=@KERNEL_ARCH@) \ KERNELRELEASE=@LINUX_VERSION@ @# Remove extraneous build products when packaging if [ -n "$(DESTDIR)" ]; then \