Skip to contentSkip to conversation

pch_gbe: fix unmet direct dependency on PTP_1588_CLOCK_PCH

PATCH In review Vladimir Murzin 1 participant 2 messages Sep 10, 2013

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

PATCH v2 1/1 pch_gbe: fix unmet direct dependency on PTP_1588_CLOCK_PCH

While cross-building for PPC.

warning: (PCH_GBE) selects PTP_1588_CLOCK_PCH which has unmet direct dependencies (X86 || COMPILE_TEST)

Both PCH_GBE and PPT_1588_CLOCK_PCH is only compatible with Intel architecture. Add dependency on x86 for PCH_GBE. Keep COMPILE_TEST to allow building on different arches.

---
v1->v2:
- s/x86/X86 (pointed by Randy)

 drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +1 -1
index cb22341..4a935ec 100644
@@ -4,7 +4,7 @@
 
 config PCH_GBE
 	tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
-	depends on PCI
+	depends on PCI && (X86 || COMPILE_TEST)
 	select MII
 	select PTP_1588_CLOCK_PCH
 	---help---
Signature · 1 line
1.8.1.5
#1 lore raw
Quoted 33 lines · Vladimir Murzin

While cross-building for PPC.

warning: (PCH_GBE) selects PTP_1588_CLOCK_PCH which has unmet direct dependencies (X86 || COMPILE_TEST)

Both PCH_GBE and PPT_1588_CLOCK_PCH is only compatible with Intel architecture. Add dependency on x86 for PCH_GBE. Keep COMPILE_TEST to allow building on different arches.

---
v1->v2:
- s/x86/X86 (pointed by Randy)

 drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/oki-semi/pch_gbe/Kconfig +1 -1
index cb22341..4a935ec 100644
@@ -4,7 +4,7 @@
 
 config PCH_GBE
 	tristate "OKI SEMICONDUCTOR IOH(ML7223/ML7831) GbE"
-	depends on PCI
+	depends on PCI && (X86 || COMPILE_TEST)
 	select MII
 	select PTP_1588_CLOCK_PCH
 	---help---
Signature · 1 line
1.8.1.5

Please, ignore it. It's already fixed by f0e6160 "net: pch_gbe depends on x86".

Sorry for the noise.

Vladimir