Last active
December 17, 2019 03:39
-
-
Save cvam0000/78eeebd3dadde593cf9439d6783e7f52 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KDIR = /lib/modules/`uname -r`/build | |
kbuild: | |
make -C $(KDIR) M=`pwd` | |
clean: | |
make -C $(KDIR) M=`pwd` clean | |
#make invocation in the kernel source directory (/lib/modules/`uname -r`/build) | |
#referring to the current directory (M = `pwd`). This process ultimately leads to | |
#reading the Kbuild file from the current directory and compiling the module as instructed in this file. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment