we are able to parse str to int in the kernel
This commit is contained in:
13
scripts/yt-block/Makefile
Normal file
13
scripts/yt-block/Makefile
Normal 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
|
||||
Reference in New Issue
Block a user