You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unfortunately I don't know much about building kernel modules. The only experience I have is building toy examples to test things and using a makefile similar to what you posted.
I'm happy to accept a PR with an example for a kernel module but wouldn't feel comfortable to write one at the moment.
Is it possible to create a loadable kernel module example?
I know what the result of the Makefile should be
`obj-m += main.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean`
The text was updated successfully, but these errors were encountered: