lkml.org 
[lkml]   [2006]   [Dec]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] kbuild: Replace remaining "depends" with "depends on"

Replace the very few remaining "depends" Kconfig directives with
"depends on".

Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>

---

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-12-13 13:59    [W:0.727 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site