This commit is contained in:
2025-05-29 14:52:54 +01:00
parent 9942e5c6ae
commit 176993ba81
2 changed files with 32 additions and 0 deletions

11
driver/Makefile Normal file
View File

@ -0,0 +1,11 @@
obj-m += hello.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean