summaryrefslogtreecommitdiffstats
path: root/drivers/clk/Makefile
diff options
context:
space:
mode:
authorMichael Turquette <mturquette@baylibre.com>2016-05-23 14:29:13 -0700
committerMichael Turquette <mturquette@baylibre.com>2016-06-22 18:02:52 -0700
commitcb7c47d7066ca9fda053f5cb327ea49e14f42409 (patch)
treeaeebd084489bee316cd8e2ce53b5181d63c1eb75 /drivers/clk/Makefile
parent796b9aa85d3f8dc61a34c2a4161fc09f7977d0bd (diff)
downloadlinux-cb7c47d7066ca9fda053f5cb327ea49e14f42409.tar.bz2
clk: meson: only build selected platforms
Break the AmLogic clock code up so that only the necessary parts are compiled and linked. The core code is selected by both arm and arm64 builds with COMMON_CLK_AMLOGIC. The individual drivers have their own config options as well. Tested-by: Kevin Hilman <khilman@baylibre.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
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 dcc5e698ff6d..af03eb2f6c05 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -65,7 +65,7 @@ ifeq ($(CONFIG_COMMON_CLK), y)
obj-$(CONFIG_ARCH_MMP) += mmp/
endif
obj-y += mvebu/
-obj-$(CONFIG_ARCH_MESON) += meson/
+obj-$(CONFIG_COMMON_CLK_AMLOGIC) += meson/
obj-$(CONFIG_ARCH_MXS) += mxs/
obj-$(CONFIG_MACH_PISTACHIO) += pistachio/
obj-$(CONFIG_COMMON_CLK_NXP) += nxp/