From 86911c18335cd191673b2e419a4045142073e3b4 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Sat, 27 Nov 2010 12:29:59 +0100 Subject: scull: Makefile: Use EXTRA_CFLAGS instead of CFLAGS --- scull/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scull') diff --git a/scull/Makefile b/scull/Makefile index 089b144..ac6383a 100644 --- a/scull/Makefile +++ b/scull/Makefile @@ -9,8 +9,8 @@ else DEBFLAGS = -O2 endif -CFLAGS += $(DEBFLAGS) -CFLAGS += -I$(LDDINC) +EXTRA_CFLAGS += $(DEBFLAGS) +EXTRA_CFLAGS += -I$(LDDINC) ifneq ($(KERNELRELEASE),) # call from kernel build system @@ -35,7 +35,7 @@ clean: rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions depend .depend dep: - $(CC) $(CFLAGS) -M *.c > .depend + $(CC) $(EXTRA_CFLAGS) -M *.c > .depend ifeq (.depend,$(wildcard .depend)) -- cgit v1.2.1-18-gbd029