maru-camera: Except the camera driver when build with the extension
authorjinhyung.jo <jinhyung.jo@samsung.com>
Thu, 23 Jul 2015 07:37:55 +0000 (16:37 +0900)
committerjinhyung.jo <jinhyung.jo@samsung.com>
Thu, 23 Jul 2015 07:37:55 +0000 (16:37 +0900)
The camera driver will be built using the source of the extension owns.

Change-Id: I219d54ea13eca3a1eed70b24175c73dd7de51d04
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
drivers/maru/Makefile

index 9f3684deee21c1a6fbf5886c20c30605ac5b5af0..e531c9340d4743902e61a7efe178188e64d9f4a0 100644 (file)
@@ -1,6 +1,8 @@
 ccflags-y += -Werror
 obj-$(CONFIG_MARU_VIRTIO_TOUCHSCREEN) += maru_virtio_touchscreen.o
+ifndef CONFIG_MARU_EXTENSION_SOURCE
 obj-$(CONFIG_MARU_CAMERA) += maru_camera.o
+endif
 obj-$(CONFIG_MARU_BACKLIGHT) += maru_bl.o
 obj-$(CONFIG_MARU_VIRTIO_HWKEY) += maru_virtio_hwkey.o
 obj-$(CONFIG_MARU_JACK) += maru_jack.o