mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@mindspring.com>
To: Linux kernel mailing list <linux-kernel@vger.kernel.org>
Cc: trivial@kernel.org
Subject: [PATCH] kbuild: Replace remaining "depends" with "depends on"
Date: Wed, 13 Dec 2006 07:44:55 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.4.64.0612130735450.31075@localhost.localdomain> (raw)


  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

             reply	other threads:[~2006-12-13 12:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-13 12:44 Robert P. J. Day [this message]
2007-01-23  6:21 ` Oleg Verych

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0612130735450.31075@localhost.localdomain \
    --to=rpjday@mindspring.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®