summaryrefslogtreecommitdiffstats
path: root/scull/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'scull/Makefile')
-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))