diff options
| author | Javier <dev.git@javispedro.com> | 2026-10-26 03:08:03 +0100 |
|---|---|---|
| committer | Javier <dev.git@javispedro.com> | 2026-10-26 03:08:03 +0100 |
| commit | 2b80e7e349eeb6b5839577946cff962470d57c21 (patch) | |
| tree | 1f9a3d482f92faa64748cc9f5380ad5b1e44922d /linux/makefile | |
| parent | 21e31414334b494c4e3f2ebae5f3bfe6c5e00da3 (diff) | |
| download | chu-2b80e7e349eeb6b5839577946cff962470d57c21.tar.gz chu-2b80e7e349eeb6b5839577946cff962470d57c21.zip | |
change default major number to 63
Diffstat (limited to 'linux/makefile')
| -rw-r--r-- | linux/makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |
