gator: Fix Makefile for DKMS
authorJon Medhurst <tixy@linaro.org>
Tue, 30 Jul 2013 14:35:40 +0000 (15:35 +0100)
committerJon Medhurst <tixy@linaro.org>
Tue, 8 Oct 2013 14:15:52 +0000 (15:15 +0100)
commit38529e4e6d6c9a9d18b59e1b165e8cd5d0c596da
tree6f02d3c979283056ba32b35d6f24b7a52cb643d8
parent648ef4c6a71b43d6cb951348f394b42528751a68
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>
drivers/gator/Makefile