mirror of
https://github.com/nxp-imx/mwifiex.git
synced 2025-01-15 16:25:35 +00:00
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/<kernel_release>/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 <grembeter@outlook.com>
This commit is contained in:
parent
a84df58315
commit
1f71540d8e
1 changed files with 3 additions and 0 deletions
|
@ -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 {} \;
|
||||
|
|
Loading…
Reference in a new issue