public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Sam Ravnborg <sam@ravnborg.org>
To: Olivier MATZ <zer0@droids-corp.org>
Cc: Arnd Bergmann <arnd@arndb.de>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] asm-i386 : config.h should not be included out of kernel
Date: Wed, 7 Dec 2005 22:32:45 +0100	[thread overview]
Message-ID: <20051207213245.GA7575@mars.ravnborg.org> (raw)
In-Reply-To: <4397418E.3070400@droids-corp.org>

On Wed, Dec 07, 2005 at 09:09:50PM +0100, Olivier MATZ wrote:
> Hi Sam,
> 
> > If you look at the commandline passed to gcc you will notice -include
> > include/linux/autoconf.h which tell gcc to pull in autoconf.h.
> > So it is no longer required to include config.h.
> 
> I'm not sure. On my 2.6.14.3, this is a compilation line 
Ok, I was speaking on the 2.6.15-rc kernels. I was added when 2.6.15
opened up and will first appear in a 'relased' kernel as of 2.6.15.

> Moreover, if I try to compile a C file which only define a variable and
> assign it to a CONFIG_XXX, it doesn't work. Did I do something wrong ?
I do not get what you tried and what did not work.

	Sam

  reply	other threads:[~2005-12-07 21:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-06 20:26 [PATCH] asm-i386 : config.h should not be included out of kernel Olivier MATZ
2005-12-06 21:11 ` Arnd Bergmann
2005-12-07 17:28   ` Olivier MATZ
2005-12-07 19:10     ` Sam Ravnborg
2005-12-07 20:02       ` Andrew Walrond
2005-12-07 20:09       ` Olivier MATZ
2005-12-07 21:32         ` Sam Ravnborg [this message]
2005-12-08 11:33           ` Olivier MATZ
2005-12-08 17:39             ` Sam Ravnborg

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=20051207213245.GA7575@mars.ravnborg.org \
    --to=sam@ravnborg.org \
    --cc=arnd@arndb.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=zer0@droids-corp.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