From: Sam Ravnborg <sam@ravnborg.org>
To: Jonathan Bastien-Filiatrault <Intuxicated_kdev@yahoo.ca>
Cc: mec@shout.net, Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] 2.5.69 Change to i386 Makefile to distinguish athlons.
Date: Wed, 14 May 2003 22:47:09 +0200 [thread overview]
Message-ID: <20030514204709.GA1002@mars.ravnborg.org> (raw)
In-Reply-To: <3EC29191.5030700@yahoo.ca>
On Wed, May 14, 2003 at 02:57:21PM -0400, Jonathan Bastien-Filiatrault wrote:
> It should succesfully set -march=athlon-<type> according to uname -p.
>
> --- linux-2.5.69/arch/i386/Makefile.orig 2003-05-14
> 13:37:19.000000000 -0400
> +++ linux-2.5.69/arch/i386/Makefile 2003-05-14 14:50:03.000000000 -0400
> @@ -23,7 +23,7 @@
> CFLAGS += -pipe
>
> check_gcc = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null >
> /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi)
> -
> +get_athlon_type = ${shell case `uname -p` in "* 4 *") echo
> "athlon-4";;*XP*) echo "athlon-xp";;*MP*) echo "athlon-mp";;*) echo
> "athlon";;esac}
This is broken.
You have no guarantee whatsoever that the kernel is being compiled
for the machine where you do the compilation.
Sam
prev parent reply other threads:[~2003-05-14 20:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-14 18:57 Jonathan Bastien-Filiatrault
2003-05-14 20:03 ` Dave Jones
2003-05-14 20:47 ` Sam Ravnborg [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=20030514204709.GA1002@mars.ravnborg.org \
--to=sam@ravnborg.org \
--cc=Intuxicated_kdev@yahoo.ca \
--cc=linux-kernel@vger.kernel.org \
--cc=mec@shout.net \
/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®