* [PATCH] clk: ti: Allow COMPILE_TEST to build selected drivers
@ 2016-02-26 17:45 Tony Lindgren
2016-02-29 22:20 ` Michael Turquette
0 siblings, 1 reply; 2+ messages in thread
From: Tony Lindgren @ 2016-02-26 17:45 UTC (permalink / raw)
To: Michael Turquette, Stephen Boyd, Tero Kristo
Cc: linux-clk, linux-omap, linux-arm-kernel
The arch independent drivers can be build testeed with
COMPILE_TEST. Let's allow that for drivers/clk/ti.
Signed-off-by: Tony Lindgren <tony@atomide.com>
---
drivers/clk/Makefile | 2 +-
drivers/clk/ti/Makefile | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
---
This allows the appll driver to be built with COMPILE_TEST,
and this is not currently needed without the adpll driver.
diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
index b038e36..45939a1 100644
--- a/drivers/clk/Makefile
+++ b/drivers/clk/Makefile
@@ -78,7 +78,7 @@ obj-$(CONFIG_PLAT_SPEAR) += spear/
obj-$(CONFIG_ARCH_STI) += st/
obj-$(CONFIG_ARCH_SUNXI) += sunxi/
obj-$(CONFIG_ARCH_TEGRA) += tegra/
-obj-$(CONFIG_ARCH_OMAP2PLUS) += ti/
+obj-y += ti/
obj-$(CONFIG_ARCH_U8500) += ux500/
obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/
obj-$(CONFIG_X86) += x86/
diff --git a/drivers/clk/ti/Makefile b/drivers/clk/ti/Makefile
index dfe91d7..0deac98 100644
--- a/drivers/clk/ti/Makefile
+++ b/drivers/clk/ti/Makefile
@@ -1,3 +1,5 @@
+ifeq ($(CONFIG_ARCH_OMAP2PLUS), y)
+
obj-y += clk.o autoidle.o clockdomain.o
clk-common = dpll.o composite.o divider.o gate.o \
fixed-factor.o mux.o apll.o \
@@ -19,4 +21,6 @@ ifdef CONFIG_ATAGS
obj-$(CONFIG_ARCH_OMAP3) += clk-3xxx-legacy.o
endif
+endif # CONFIG_ARCH_OMAP2PLUS
+
obj-$(CONFIG_COMMON_CLK_TI_ADPLL) += adpll.o
--
2.7.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] clk: ti: Allow COMPILE_TEST to build selected drivers
2016-02-26 17:45 [PATCH] clk: ti: Allow COMPILE_TEST to build selected drivers Tony Lindgren
@ 2016-02-29 22:20 ` Michael Turquette
0 siblings, 0 replies; 2+ messages in thread
From: Michael Turquette @ 2016-02-29 22:20 UTC (permalink / raw)
To: Tony Lindgren, Stephen Boyd, Tero Kristo
Cc: linux-clk, linux-omap, linux-arm-kernel
Quoting Tony Lindgren (2016-02-26 09:45:03)
> The arch independent drivers can be build testeed with
> COMPILE_TEST. Let's allow that for drivers/clk/ti.
>
> Signed-off-by: Tony Lindgren <tony@atomide.com>
Applied.
Regards,
Mike
> ---
> drivers/clk/Makefile | 2 +-
> drivers/clk/ti/Makefile | 4 ++++
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> ---
>
> This allows the appll driver to be built with COMPILE_TEST,
> and this is not currently needed without the adpll driver.
>
> diff --git a/drivers/clk/Makefile b/drivers/clk/Makefile
> index b038e36..45939a1 100644
> --- a/drivers/clk/Makefile
> +++ b/drivers/clk/Makefile
> @@ -78,7 +78,7 @@ obj-$(CONFIG_PLAT_SPEAR) += spear/
> obj-$(CONFIG_ARCH_STI) += st/
> obj-$(CONFIG_ARCH_SUNXI) += sunxi/
> obj-$(CONFIG_ARCH_TEGRA) += tegra/
> -obj-$(CONFIG_ARCH_OMAP2PLUS) += ti/
> +obj-y += ti/
> obj-$(CONFIG_ARCH_U8500) += ux500/
> obj-$(CONFIG_COMMON_CLK_VERSATILE) += versatile/
> obj-$(CONFIG_X86) += x86/
> diff --git a/drivers/clk/ti/Makefile b/drivers/clk/ti/Makefile
> index dfe91d7..0deac98 100644
> --- a/drivers/clk/ti/Makefile
> +++ b/drivers/clk/ti/Makefile
> @@ -1,3 +1,5 @@
> +ifeq ($(CONFIG_ARCH_OMAP2PLUS), y)
> +
> obj-y += clk.o autoidle.o clockdomain.o
> clk-common = dpll.o composite.o divider.o gate.o \
> fixed-factor.o mux.o apll.o \
> @@ -19,4 +21,6 @@ ifdef CONFIG_ATAGS
> obj-$(CONFIG_ARCH_OMAP3) += clk-3xxx-legacy.o
> endif
>
> +endif # CONFIG_ARCH_OMAP2PLUS
> +
> obj-$(CONFIG_COMMON_CLK_TI_ADPLL) += adpll.o
> --
> 2.7.0
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-29 22:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-26 17:45 [PATCH] clk: ti: Allow COMPILE_TEST to build selected drivers Tony Lindgren
2016-02-29 22:20 ` Michael Turquette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).