summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gator/driver/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gator/driver/Makefile b/drivers/gator/driver/Makefile
index 5af89c4d1bb..d6dfeebf102 100644
--- a/drivers/gator/driver/Makefile
+++ b/drivers/gator/driver/Makefile
@@ -3,7 +3,7 @@ ifneq ($(KERNELRELEASE),)
# Uncomment the following line to enable kernel stack unwinding within gator, or update gator_backtrace.c
# EXTRA_CFLAGS += -DGATOR_KERNEL_STACK_UNWINDING
-obj-m := gator.o
+obj-$(CONFIG_GATOR) := gator.o
gator-y := gator_main.o \
gator_events_irq.o \