build: introduced extension source path
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 7 Jul 2015 04:50:39 +0000 (13:50 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Tue, 7 Jul 2015 05:08:37 +0000 (14:08 +0900)
The "extension source path" is additional source path that can be
used by product specific sources. The path can be prepared by
symbolic link or git submodule.

Change-Id: I9600fa107af5aa9755f9e071ef98c29babac83fd
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
arch/x86/configs/i386_tizen_emul_defconfig
drivers/maru/Kconfig
drivers/maru/Makefile

index eba3b43..2dbb0a9 100644 (file)
@@ -3194,6 +3194,7 @@ CONFIG_MARU_VIRTIO_NFC=y
 CONFIG_MARU_BRILLCODEC=y
 CONFIG_MARU_VIRTIO_VMODEM=y
 CONFIG_MARU_VIRTIO_ROTARY=y
+# CONFIG_MARU_EXTENSION_SOURCE is not set
 
 #
 # Firmware Drivers
index 9b05077..bebf9f7 100644 (file)
@@ -57,3 +57,11 @@ config MARU_VIRTIO_VMODEM
 config MARU_VIRTIO_ROTARY
        tristate "MARU VirtIO Virtual Rotary Device Driver"
        depends on MARU != n
+
+config MARU_EXTENSION_SOURCE
+       tristate "MARU Extension source"
+       depends on MARU != n
+
+config MARU_EXTENSION_SOURCE_PATH
+       string "MARU Extension source path"
+       depends on MARU != n && MARU_EXTENSION_SOURCE != n
index 60e5bd6..a3893c4 100644 (file)
@@ -11,3 +11,4 @@ obj-$(CONFIG_MARU_VIRTIO_SENSOR) += sensors/ #maru_virtio_sensor.o
 obj-$(CONFIG_MARU_BRILLCODEC) += maru_brillcodec.o
 obj-$(CONFIG_MARU_VIRTIO_VMODEM) += maru_virtio_vmodem.o
 obj-$(CONFIG_MARU_VIRTIO_ROTARY) += maru_virtio_rotary.o
+subdir-$(CONFIG_MARU_EXTENSION_SOURCE) += $(CONFIG_MARU_EXTENSION_SOURCE_PATH)