summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Medhurst <tixy@linaro.org>2013-07-30 15:35:40 +0100
committerJon Medhurst <tixy@linaro.org>2013-09-03 09:51:44 +0100
commit1424cdd8c6fdab8a34702378df2d85de9f512246 (patch)
tree8902d8801f2284c06762e19a6b3f0fee198598bf
parent4b1ec6acb3c40718b1f3be7c3f0809eeae38a71e (diff)
gator: Fix Makefile for DKMS
When building gator with DKMS then CONFIG_GATOR won't be defined (unless the kernel was build with an in-tree copy of gator) this results in the DKMS gator install failing. Fix this by providing a default value for CONFIG_GATOR of 'm' so it is built as a module. Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--drivers/gator/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gator/Makefile b/drivers/gator/Makefile
index 5dadbacb30f4..7b877532b24b 100644
--- a/drivers/gator/Makefile
+++ b/drivers/gator/Makefile
@@ -3,6 +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
+CONFIG_GATOR ?= m
obj-$(CONFIG_GATOR) := gator.o
gator-y := gator_main.o \