Installing external linux kernel module into /lib/modules/`uname -r`/ directory -


i have small usb driver kernel module, want install module running kernel directory i.e. (/lib/modules/uname -r/). should updates modules.alias , modules.usbmap file.

any script available install external kernel module?

thanks

all:       make -c /lib/modules/$(shell uname -r)/build m=$(pwd) modules    install:       make -c /lib/modules/$(shell uname -r)/build m=$(pwd) modules_install    clean:     make -c /lib/modules/$(shell uname -r)/build m=$(pwd) clean 

do "make" , "make install"

--- 5.2 install_mod_dir

external modules default installed directory under /lib/modules/$(kernelrelease)/extra/, may wish locate modules specific functionality in separate directory. purpose, use install_mod_dir specify alternative name "extra."      $ make install_mod_dir=gandalf -c $kdir \            m=$pwd modules_install     => install directory: /lib/modules/$(kernelrelease)/gandalf/ 

Comments

Popular posts from this blog

jQuery Mobile app not scrolling in Firefox -

c++ - How to add Crypto++ library to Qt project -

php array slice every 2th rule -