Skip to contentSkip to conversation

clk: ingenic: Allow drivers to be built with COMPILE_TEST

PATCH Applied Stephen Boyd 2 participants 3 messages Nov 14, 2019 – Nov 22, 2019

Subsystems (2)
lore
Share & tools
lore

Stephen Boyd

author maintainer
#0 lore raw

PATCH 1/1 clk: ingenic: Allow drivers to be built with COMPILE_TEST

We don't need the MIPS architecture or even a MIPS compiler to compile test these drivers. Let's add a COMPILE_TEST possibility on the menuconfig here so that we can build these drivers on more configurations.

---
 drivers/clk/ingenic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/ingenic/Kconfig +1 -1
index fb7b39961703..b4555b465ea6 100644
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menu "Ingenic SoCs drivers"
-	depends on MIPS
+	depends on MIPS || COMPILE_TEST
 
 config INGENIC_CGU_COMMON
 	bool
Signature · 1 line
Sent by a computer through tubes
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi Stephen,

Quoted 7 lines · Stephen Boyd

We don't need the MIPS architecture or even a MIPS compiler to compile test these drivers. Let's add a COMPILE_TEST possibility on the menuconfig here so that we can build these drivers on more configurations.

Quoted 19 lines
---
 drivers/clk/ingenic/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/clk/ingenic/Kconfig +1 -2
index fb7b39961703..b4555b465ea6 100644
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 menu "Ingenic SoCs drivers"
-	depends on MIPS
+	depends on MIPS || COMPILE_TEST
 
 config INGENIC_CGU_COMMON
 	bool
--

Sent by a computer through tubes