From 454f64fbe4f55fd4082167953fec83363c12511b Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Tue, 7 Jul 2015 13:50:39 +0900 Subject: [PATCH] build: introduced extension source path 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 --- arch/x86/configs/i386_tizen_emul_defconfig | 1 + drivers/maru/Kconfig | 8 ++++++++ drivers/maru/Makefile | 1 + 3 files changed, 10 insertions(+) diff --git a/arch/x86/configs/i386_tizen_emul_defconfig b/arch/x86/configs/i386_tizen_emul_defconfig index eba3b4362fbf..2dbb0a9940fc 100644 --- a/arch/x86/configs/i386_tizen_emul_defconfig +++ b/arch/x86/configs/i386_tizen_emul_defconfig @@ -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 diff --git a/drivers/maru/Kconfig b/drivers/maru/Kconfig index 9b05077b102e..bebf9f7d22c1 100644 --- a/drivers/maru/Kconfig +++ b/drivers/maru/Kconfig @@ -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 diff --git a/drivers/maru/Makefile b/drivers/maru/Makefile index 60e5bd6d9465..a3893c4f234d 100644 --- a/drivers/maru/Makefile +++ b/drivers/maru/Makefile @@ -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) -- 2.34.1