Hi , i want to compile a standalone kernel module for linux kernel version 2.6 or 3.0 . A basic Makefile goes like this : ================== obj-m += hello-1.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean ==================== i want to add debugging symbols information ( using -g option ) also via CFLAGS usage flag . can i be guided how to modify this basic Makefile to add CFLAGS information for adding debugging symbols information . Regards Amit Nagal _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies