What do I need to point my makefile at to make it build a kernel driver properly?

前端 未结 0 760
忘了有多久
忘了有多久 2021-01-31 16:31

I am working on a simple driver for a class. I am using this makefile:

obj-m := mysourcefile.o

KERNELDIR ?= /lib/modules/$(shell uname -r)/kernel

all default: m         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题