aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-4.14/0173-clk-mediatek-fixup-test-building-of-MediaTek-clock-d.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/mediatek/patches-4.14/0173-clk-mediatek-fixup-test-building-of-MediaTek-clock-d.patch')
-rw-r--r--target/linux/mediatek/patches-4.14/0173-clk-mediatek-fixup-test-building-of-MediaTek-clock-d.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-4.14/0173-clk-mediatek-fixup-test-building-of-MediaTek-clock-d.patch b/target/linux/mediatek/patches-4.14/0173-clk-mediatek-fixup-test-building-of-MediaTek-clock-d.patch
new file mode 100644
index 0000000000..386a15a568
--- /dev/null
+++ b/target/linux/mediatek/patches-4.14/0173-clk-mediatek-fixup-test-building-of-MediaTek-clock-d.patch
@@ -0,0 +1,32 @@
+From 3f963310151f6e630f94acf73ff44493619038ff Mon Sep 17 00:00:00 2001
+From: Sean Wang <sean.wang@mediatek.com>
+Date: Wed, 20 Dec 2017 14:42:59 +0800
+Subject: [PATCH 173/224] 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>
+---
+ drivers/clk/Makefile | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
+index c99f363826f0..838000f92b69 100644
+--- a/drivers/clk/Makefile
++++ b/drivers/clk/Makefile
+@@ -66,7 +66,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)
+--
+2.11.0
+