From 2b80e7e349eeb6b5839577946cff962470d57c21 Mon Sep 17 00:00:00 2001 From: Javier Date: Mon, 26 Oct 2026 03:08:03 +0100 Subject: change default major number to 63 --- linux/makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'linux/makefile') diff --git a/linux/makefile b/linux/makefile index f293cc1..e88ebac 100644 --- a/linux/makefile +++ b/linux/makefile @@ -2,6 +2,9 @@ MODDIR := /lib/modules/$(shell uname -r) INCLUDE := -isystem $(MODDIR)/build/include -isystem ../inc CFLAGS := -O2 -D__KERNEL__ -DMODULE -Wall $(INCLUDE) +ifeq ($(debug),1) +CFLAGS += -DENABLE_DLOG +endif ifneq (,$(wildcard $(MODDIR)/build/include/linux/modversions.h)) CFLAGS += -DMODVERSIONS endif @@ -16,7 +19,7 @@ clean: install: chudisk.o install -m0644 chudisk.o $(MODDIR)/block - depmod -A + depmod uninstall: rm -f $(MODDIR)/block/chudisk.o -- cgit v1.2.3