summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Martinez Canillas <martinez.javier@gmail.com>2010-11-27 12:29:59 +0100
committerJavier Martinez Canillas <martinez.javier@gmail.com>2010-11-27 12:50:38 +0100
commit86911c18335cd191673b2e419a4045142073e3b4 (patch)
treeb0e34aa8f1e12d4ced75cf278d4968c29e716934
parent31383e3213b79f80add110f8bb4cd49b11765444 (diff)
downloadldd3-86911c18335cd191673b2e419a4045142073e3b4.tar.gz
scull: Makefile: Use EXTRA_CFLAGS instead of CFLAGS
-rw-r--r--scull/Makefile6
1 files changed, 3 insertions, 3 deletions
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))