mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roman Zippel <zippel@linux-m68k.org>
To: Wim Van Sebroeck <wim@iguana.be>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Just a thought: Kconfig & architecture command
Date: Wed, 7 Jan 2004 03:34:24 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.58.0401061651280.2255@spit.local> (raw)
In-Reply-To: <20040103155150.N30061@infomag.infomag.iguana.be>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=utf-8, Size: 1336 bytes --]

Hi,

On Sat, 3 Jan 2004, Wim Van Sebroeck wrote:

> Lett me give a simple example: the sa1100 watchdog driver only works for
> the sa1100 architecture. In Kconfig this could then look like:
> -Kconfig------------------------------------------------------------------
> config SA1100_WATCHDOG
>         tristate "SA1100 watchdog"
>         architecture ARCH_SA1100
>         depends on WATCHDOG
>         help
>           Watchdog timer embedded into SA11x0 chips. This will reboot your
>           system when timeout is reached.
>           NOTE, that once enabled, this timer cannot be disabled.
>
>           To compile this driver as a module, choose M here: the
>           module will be called sa1100_wdt.
>
> --------------------------------------------------------------------------
> Â
> The advantage is that you could source driver directory's more easily in
> a lott of architectures (without having to copy general pieces in every
> seperate architecture-dependant Kconfig file, like we do know for sun,
> sh, ...).

I don't really see the need for another keyword, which is basically only
an alias. The ARCH_ prefix already says that it's an arch symbol and you
can already have multiple depends lines (which are connected via '&&'), so
you don't need to mix the arch dependecies with the other dependencies.

bye, Roman

      reply	other threads:[~2004-01-07  2:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-03 14:51 Wim Van Sebroeck
2004-01-07  2:34 ` Roman Zippel [this message]

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.58.0401061651280.2255@spit.local \
    --to=zippel@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wim@iguana.be \
    /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®