[PATCH] kbuild: Replace remaining "depends" with "depends on"
From: Robert P. J. Day
Date: Wed Dec 13 2006 - 07:57:49 EST
Replace the very few remaining "depends" Kconfig directives with
"depends on".
Signed-off-by: Robert P. J. Day <rpjday@xxxxxxxxxxxxxx>
---
Given the recent patch that was applied to make this transformation,
might as well finish it off and deal with those last three cases.
At this point, all Kconfig files should contain *only* "depends on"
and neither "depends" nor "requires", so whoever is responsible for
the care and feeding of the parser might consider dropping support for
those latter directives if there's no overwhelming rationale to keep
supporting them.
Unlike in Perl, "there's more than one way to do it" doesn't apply
equally well to kernel source. :-)
arch/arm/Kconfig | 2 +-
arch/arm/mm/Kconfig | 2 +-
arch/v850/Kconfig | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index aa1d400..c418e72 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -392,7 +392,7 @@ source arch/arm/mm/Kconfig
config IWMMXT
bool "Enable iWMMXt support"
- depends CPU_XSCALE || CPU_XSC3
+ depends on CPU_XSCALE || CPU_XSC3
default y if PXA27x
help
Enable support for iWMMXt context switching at run time if
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig
index aade2f7..3c2f979 100644
--- a/arch/arm/mm/Kconfig
+++ b/arch/arm/mm/Kconfig
@@ -525,7 +525,7 @@ config CPU_BIG_ENDIAN
of your chipset/board/processor.
config CPU_HIGH_VECTOR
- depends !MMU && CPU_CP15 && !CPU_ARM740T
+ depends on !MMU && CPU_CP15 && !CPU_ARM740T
bool "Select the High exception vector"
default n
help
diff --git a/arch/v850/Kconfig b/arch/v850/Kconfig
index f0d4d72..aeddaa7 100644
--- a/arch/v850/Kconfig
+++ b/arch/v850/Kconfig
@@ -214,7 +214,7 @@ menu "Processor type and features"
# Some platforms pre-zero memory, in which case the kernel doesn't need to
config ZERO_BSS
bool
- depends !V850E2_SIM85E2C
+ depends on !V850E2_SIM85E2C
default y
# The crappy-ass zone allocator requires that the start of allocatable
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/