cilynx / rtl88x2bu

rtl88x2bu driver updated for current kernels.
http://www.wolfteck.com/2018/02/22/wsky_1200mbps_wireless_usb_wifi_adapter/
GNU General Public License v2.0
1.66k stars 320 forks source link

Use nproc to build driver using multithreads #212

Closed awesometic closed 2 years ago

awesometic commented 2 years ago

Recent computers including single board computers have many cores available.

This reduces compile time significantly when installing the new driver for the kernel.

MaxG87 commented 2 years ago

The used variable is not available on my Debian machine, neither in zsh, bash nor sudo bash. I think the correct solution would be to switch to "$(nproc)", which is provided by GNU coreutils. I use it personally for quite a while to my satisfaction.

I would merge the PR if you would update it to use "$(nproc)".

awesometic commented 2 years ago

Thank you for your review. I updated it to use "$(nproc)". Please check it again. :)

MaxG87 commented 2 years ago

Thank you for your contribution.