Hi, I am compiling my 2.6 kernel module as described in this article: http://lwn.net/Articles/21823/ So Makefile looks like this: ifneq ($(KERNELRELEASE),) obj-m := module.o else KDIR := /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) default: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules endif However, when the module compiles it is built with gcc's -g debug flag by default. How can I build my module without this -g flag ? Is there something I can add to my Makefile ? Thanks dom -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/