From: Jon Medhurst Date: Tue, 30 Jul 2013 14:35:40 +0000 (+0100) Subject: gator: Fix Makefile for DKMS X-Git-Tag: firefly_0821_release~3680^2~202^2~1 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=38529e4e6d6c9a9d18b59e1b165e8cd5d0c596da;p=firefly-linux-kernel-4.4.55.git 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 --- 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 \