summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Makefile
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2017-12-20 14:42:59 +0800
committerStephen Boyd <sboyd@codeaurora.org>2017-12-21 16:43:37 -0800
commit74cb0d6dde85fef197aca3b2976487e99934309d (patch)
tree9e220cab8bde946fd9a9fb04bd97658b8972f6b8 /drivers/clk/Makefile
parent16a1ac19a0f00b1606bcac736145f497a1009707 (diff)
downloadlinux-74cb0d6dde85fef197aca3b2976487e99934309d.tar.gz
linux-74cb0d6dde85fef197aca3b2976487e99934309d.tar.bz2
linux-74cb0d6dde85fef197aca3b2976487e99934309d.zip
clk: mediatek: fixup test-building of MediaTek clock drivers
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>
Diffstat (limited to 'drivers/clk/Makefile')
-rw-r--r--drivers/clk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index f7f761b02bed..2e3fb08352a7 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -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)