From 1f71540d8e8953542abfaf83176f8cda163e52ad Mon Sep 17 00:00:00 2001 From: grygorii tertychnyi Date: Sun, 19 May 2024 10:19:19 +0200 Subject: [PATCH] mxm_wifiex: add modules_install target To install out-of-tree kernel module, as per documentation: modules_install Install the external module(s). The default location is /lib/modules//extra/, but a prefix may be added with INSTALL_MOD_PATH (discussed in section 5). Link: https://www.kernel.org/doc/Documentation/kbuild/modules.txt Signed-off-by: grygorii tertychnyi --- mxm_wifiex/wlan_src/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mxm_wifiex/wlan_src/Makefile b/mxm_wifiex/wlan_src/Makefile index bf5c5cb..5f98e9d 100644 --- a/mxm_wifiex/wlan_src/Makefile +++ b/mxm_wifiex/wlan_src/Makefile @@ -660,6 +660,9 @@ install: default echo $(INSTALLDIR) echo "MX Driver Installed" +modules_install: + $(MAKE) -C $(KERNELDIR) M=$(PWD) INSTALL_MOD_DIR=$(INSTALLDIR) modules_install + distclean: -find . -name "*.o" -exec rm {} \; -find . -name "*.orig" -exec rm {} \;