initial commit

This commit is contained in:
2024-11-12 18:00:14 +02:00
commit 2c0c86dc90
2 changed files with 147 additions and 0 deletions

13
Makefile Normal file
View File

@@ -0,0 +1,13 @@
ifneq ($(KERNELRELEASE),)
# kbuild part of makefile
obj-m := hello.o
else
# normal makefile
KDIR ?= /lib/modules/`uname -r`/build
default:
$(MAKE) -C $(KDIR) M=$$PWD
clean:
$(MAKE) -C $(KDIR) M=$$PWD clean
endif