aboutsummaryrefslogtreecommitdiff
path: root/1/Makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2024-04-17 14:06:19 +0200
committerlonkaars <loek@pipeframe.xyz>2024-04-17 14:06:19 +0200
commit1e01e4bcc637dfbdea24f95376da96d1a7f05ff8 (patch)
treeaf158c08bf986f1d50bcc54d34aa77c14d8c1b26 /1/Makefile
parent9b173b99874556041c3302b338e27e48978ec967 (diff)
rename kernel module
Diffstat (limited to '1/Makefile')
-rw-r--r--1/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/1/Makefile b/1/Makefile
index 990d695..a3e297b 100644
--- a/1/Makefile
+++ b/1/Makefile
@@ -1,8 +1,12 @@
RELEASE := $(shell uname -r)
KERNEL := /lib/modules/$(RELEASE)/build
-obj-m += main.o
+obj-m += lork.o
+lork-y := main.o
all:
$(MAKE) -C $(KERNEL) M=$(PWD) modules
+compile_commands.json:
+ compiledb make -Bn
+