we are able to parse str to int in the kernel

This commit is contained in:
Sebastian Moser
2024-08-16 15:37:45 +02:00
parent 84c973d392
commit 349b792c18
7 changed files with 205 additions and 3 deletions

13
scripts/yt-block/Makefile Normal file
View File

@@ -0,0 +1,13 @@
obj-m := unkillable.o
all:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules
unkillable.o:
# why does the name of the c source file seemingly need to match the .o file
# i'd like to have kernel_module.c
$(CC) unkillable.c -o unkillable.o
install:
$(MAKE) -C $(KERNEL_DIR) M=$(PWD) modules_install