mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roman Zippel <zippel@linux-m68k.org>
To: Blaisorblade <blaisorblade_spam@yahoo.it>
Cc: Tom Rini <trini@kernel.crashing.org>,
	linux-kernel@vger.kernel.org, julian@sektor37.de,
	mcr@sandelman.ottawa.on.ca, sam@ravnborg.org
Subject: Re: [patch 2/2] kbuild: fix crossbuild base config
Date: Thu, 4 Nov 2004 01:06:00 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.61.0411040054580.877@scrub.home> (raw)
In-Reply-To: <200411032132.37947.blaisorblade_spam@yahoo.it>

Hi,

On Wed, 3 Nov 2004, Blaisorblade wrote:

> You later say "If possible, I'd avoid this patch at all". Why? Is this code 
> too intrusive, or implementing a wrong check, or bloating the source?

It adds a special case to the kconfig core to make it behave differently, 
but it shouldn't behave differently depending on how the kernel is 
compiled.

> > > E.g. if someone wrote a patch which stores the arch in .config and warns/
> > > refuses to load it for a different configuration, I would accept it
> > > happily.
> Yes, this is another idea, which is also fine, while not excluding the other 
> IMHO.

This is the better solution, because it solves the more general problem, 
when a .config doesn't match the Kconfig and not just your special case.

> > We already have part of this, except I don't know for certain of
> > CONFIG_ARCH == CONFIG_$(SUBARCH) (... to mix syntax all the hell up).
> 
> No warning is output. Or better, yes, you get warnings, but tons of not clear 
> ones, like "warning, undefined symbol".

I don't really expect to use CONFIG_$(SUBARCH) and rather add a real 
CONFIG_ARCH to Kconfig.

bye, Roman


  reply	other threads:[~2004-11-04  0:12 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-02 23:20 blaisorblade_spam
2004-11-03 16:56 ` Roman Zippel
2004-11-03 17:48   ` Tom Rini
2004-11-03 18:19     ` Roman Zippel
2004-11-03 18:34       ` Tom Rini
2004-11-03 20:32         ` Blaisorblade
2004-11-04  0:06           ` Roman Zippel [this message]
2004-11-04  0:04         ` Roman Zippel

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.61.0411040054580.877@scrub.home \
    --to=zippel@linux-m68k.org \
    --cc=blaisorblade_spam@yahoo.it \
    --cc=julian@sektor37.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcr@sandelman.ottawa.on.ca \
    --cc=sam@ravnborg.org \
    --cc=trini@kernel.crashing.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®