]> git.karo-electronics.de Git - linux-beck.git/commitdiff
greybus: camera: only build module against msm kernel
authorGreg Kroah-Hartman <gregkh@google.com>
Tue, 26 Jan 2016 04:13:15 +0000 (20:13 -0800)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 26 Jan 2016 17:52:20 +0000 (09:52 -0800)
The camera driver currently does not build against anything other than
the msm kernel, due to cross-dependancies, so enable that here so that
we can build against other kernels without failing the build.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Tested-by: Marti Bolivar <mbolivar@leaflabs.com>
Acked-by: Laurent Pinchart <laurent.pinchart@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile

index 1e45416a279686ffcb7c697bbc234e3b45e0cc5e..870a7bb22d9e3c64299e23bdbc35cd1e9ddf2894 100644 (file)
@@ -51,7 +51,9 @@ obj-m += gb-arche.o
 ifeq ($(CONFIG_SND_SOC_DYNAMIC_DAILINK),y)
  obj-m += gb-audio-codec.o
 endif
-obj-m += gb-camera.o
+ifeq ($(CONFIG_ARCH_MSM8994),y)
+ obj-m += gb-camera.o
+endif
 obj-m += gb-audio-gb.o
 obj-m += gb-audio-apbridgea.o
 obj-m += gb-audio-manager.o