mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-05-10 10:48:27 +03:00
Makefile.in: pass ARCH for modules_install as well
To do a cross-build using only kbuild rather than a full source tree, ARCH= needs to be passed for the kbuild Makefile to find the archspecific Makefile. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Rob Norris <robn@despairlabs.com> Closes #16944
This commit is contained in:
parent
fabdd502f4
commit
8eba6a5ba1
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user