lwfinger / rtl8723be

This repo is obsolete. Use lwfinger/rtlwifi_new instead.
46 stars 41 forks source link

How to specify the kernel for which the drivers should be compiled ? #16

Open fvalenduc opened 4 years ago

fvalenduc commented 4 years ago

I would like to know if it is possible to compile the module for another kernel than the one currently running. This would be easier when upgrading. Now, I have to reboot the new kernel, wait 1min 30 seconds before systemd gives up enabling the wireless connection, then compile and install the modules and finally restarting the wireless connections.

It seems it is possible to specify the kernel for which the modules should be compiled like this: make -C M=/usr/src/rtlwifi_new -j9 -l7 modules But I have a problem with running make installl which always install the modules for the current kernel. Is there a way to solve this ? Thanks in advance for your help.

François Valenduc