clk: mediatek: fixup test-building of MediaTek clock drivers
authorSean Wang <sean.wang@mediatek.com>
Wed, 20 Dec 2017 06:42:59 +0000 (14:42 +0800)
committerStephen Boyd <sboyd@codeaurora.org>
Fri, 22 Dec 2017 00:43:37 +0000 (16:43 -0800)
Let the build system looking into the directiory where the clock drivers
resides for the COMPILE_TEST alternative dependency allows test-building
the drivers.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/Makefile

index f7f761b02bedaed4cd54a2e6613fef90ba43aa5e..2e3fb08352a7ff6ea8577064d11c3ce82655cfb8 100644 (file)
@@ -67,7 +67,7 @@ obj-$(CONFIG_ARCH_MXC)                        += imx/
 obj-$(CONFIG_MACH_INGENIC)             += ingenic/
 obj-$(CONFIG_ARCH_KEYSTONE)            += keystone/
 obj-$(CONFIG_MACH_LOONGSON32)          += loongson1/
-obj-$(CONFIG_ARCH_MEDIATEK)            += mediatek/
+obj-y                                  += mediatek/
 obj-$(CONFIG_COMMON_CLK_AMLOGIC)       += meson/
 obj-$(CONFIG_MACH_PIC32)               += microchip/
 ifeq ($(CONFIG_COMMON_CLK), y)