diff --git a/examples/scull/Makefile b/examples/scull/Makefile index 089b144..12aec05 100644 --- a/examples/scull/Makefile +++ b/examples/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