public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "James H. Cloos Jr." <cloos@jhcloos.com>
To: cijoml@volny.cz
Cc: linux-kernel@vger.kernel.org
Subject: Re: passing my own compiler options into linux kernel compiling
Date: 24 Jul 2003 08:35:29 -0400	[thread overview]
Message-ID: <m3isps2jce.fsf@lugabout.jhcloos.org> (raw)
In-Reply-To: <200307241050.25094.cijoml@volny.cz>

>>>>> "Michal" == Michal Semler <cijoml@volny.cz> writes:

Michal> Is easyer way of passing these args planned? Editing source
Michal> every time I change kernel is not goood way. make oldconfig
Michal> adding these args is better way.

In 2.6 arch/i386/Makefile looks like this;

cflags-$(CONFIG_M686)           += -march=i686
cflags-$(CONFIG_MPENTIUMII)     += $(call check_gcc,-march=pentium2,-march=i686)
cflags-$(CONFIG_MPENTIUMIII)    += $(call check_gcc,-march=pentium3,-march=i686)
cflags-$(CONFIG_MPENTIUM4)      += $(call check_gcc,-march=pentium4,-march=i686)

et al for the other cpu CONFIG options.

IOW it pretty much makes the right choices w/o editing.

-JimC


  parent reply	other threads:[~2003-07-24 12:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-24  7:16 passing my own compiler options into linux kernel compiling Michal Semler
2003-07-24  7:59 ` Hacksaw
2003-07-24  8:01 ` Martin Zwickel
2003-07-24  8:50   ` Michal Semler
2003-07-24  8:55     ` Christoph Hellwig
2003-07-24  9:31       ` J.A. Magallon
2003-07-24  9:41       ` J.A. Magallon
2003-07-24 12:35     ` James H. Cloos Jr. [this message]
2003-07-24 20:58 ` Sam Ravnborg
2003-07-24 21:41   ` Ed Sweetman
2003-07-24 23:27 ` Kurt Wall

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=m3isps2jce.fsf@lugabout.jhcloos.org \
    --to=cloos@jhcloos.com \
    --cc=cijoml@volny.cz \
    --cc=linux-kernel@vger.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