Skip to contentSkip to conversation

clk: ti: Allow COMPILE_TEST to build selected drivers

PATCH New Tony Lindgren 2 participants 2 messages Feb 26, 2016 – Feb 29, 2016

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 clk: ti: Allow COMPILE_TEST to build selected drivers

The arch independent drivers can be build testeed with COMPILE_TEST. Let's allow that for drivers/clk/ti.

---
 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.

drivers/clk/Makefile +1 -1
index b038e36..45939a1 100644
@@ -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/
drivers/clk/ti/Makefile +4 -0
index dfe91d7..0deac98 100644
@@ -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
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/1 clk: ti: Allow COMPILE_TEST to build selected drivers

Quoting Tony Lindgren (2016-02-26 09:45:03)

Quoted 4 lines

The arch independent drivers can be build testeed with COMPILE_TEST. Let's allow that for drivers/clk/ti.

Applied.

Regards,
Mike

Quoted 43 lines
---
 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.

drivers/clk/Makefile +1 -1
index b038e36..45939a1 100644
@@ -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/
drivers/clk/ti/Makefile +4 -0
index dfe91d7..0deac98 100644
@@ -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
Signature · 1 line
2.7.0