On 06/25/2014 03:17 PM, lx wrote:
thank you.But the Makefile is so simple and Not use "cc".#################################obj-m := task_01.o
CFLAGS_task_01.o := -DDEBUGKDIR:=/lib/modules/`uname -r`/buildPWD:=$(shell pwd)
default:echo $KDIR$(MAKE) -C $(KDIR) M=$(PWD) modules#################################
So, how to add "CFLAGS"?