[PATCH] net: ethernet: actions: Add helper dependency on COMPILE_TEST

Subsystems: arm/actions semi architecture, networking drivers, the rest

STALE1806d

2 messages, 2 authors, 2021-08-25 · open the first message on its own page

[PATCH] net: ethernet: actions: Add helper dependency on COMPILE_TEST

From: Cai Huoqing <hidden>
Date: 2021-08-25 06:27:23

it's helpful for complie test in other platform(e.g.X86)

Signed-off-by: Cai Huoqing <redacted>
---
 drivers/net/ethernet/actions/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/actions/Kconfig b/drivers/net/ethernet/actions/Kconfig
index ccad6a3f4d6f..dedad1fffdc3 100644
--- a/drivers/net/ethernet/actions/Kconfig
+++ b/drivers/net/ethernet/actions/Kconfig
@@ -2,8 +2,8 @@
 
 config NET_VENDOR_ACTIONS
 	bool "Actions Semi devices"
-	default y
-	depends on ARCH_ACTIONS
+	depends on ARCH_ACTIONS || COMPILE_TEST
+	default ARCH_ACTIONS
 	help
 	  If you have a network (Ethernet) card belonging to this class, say Y.
 
-- 
2.25.1

Re: [PATCH] net: ethernet: actions: Add helper dependency on COMPILE_TEST

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-08-25 11:12:19

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Wed, 25 Aug 2021 14:25:13 +0800 you wrote:
it's helpful for complie test in other platform(e.g.X86)

Signed-off-by: Cai Huoqing <redacted>
---
 drivers/net/ethernet/actions/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Here is the summary with links:
  - net: ethernet: actions: Add helper dependency on COMPILE_TEST
    https://git.kernel.org/netdev/net-next/c/fbcf8a340150

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help