pop-os / system76-dkms

System76 DKMS driver
GNU General Public License v2.0
37 stars 20 forks source link

Define `KERNEL_DIR` once and use it #6

Closed zaufi closed 6 years ago

zaufi commented 6 years ago

Having the KERNEL_DIR make it possible to "override" it via CLI (it'll help to build this module for Gentoo using "standard" linux-mod.eclass).

Also, enclose $(PWD) into quotes because it may have spaces (being cloned into developer's machine).