From 1e01e4bcc637dfbdea24f95376da96d1a7f05ff8 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Wed, 17 Apr 2024 14:06:19 +0200 Subject: rename kernel module --- 1/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '1/Makefile') 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 + -- cgit v1.2.3