| To: | "Maciej W. Rozycki" <macro@linux-mips.org> |
|---|---|
| Subject: | Re: [PATCH] Add support for 4KS cpu. |
| From: | Franck <vagabon.xyz@gmail.com> |
| Date: | Tue, 4 Oct 2005 19:33:13 +0200 |
| Cc: | "Kevin D. Kissell" <kevink@mips.com>, Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org |
| Domainkey-signature: | a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=YTCE7NtIAtCUlUAX/vxctv2AshU52Bl2yi4+eppALyhlYD0ojQnDKX5N007+S9HhTGIpnppSNNoie0Qfy2r7IVfDHEPDK6MDrMBrJmHFx4UOM/4tqzJ6xlV1prMJz5WDesW2Az2m/oDgtpxl8X0FfvPD7d9mHxqQuqGxP+lP1b4= |
| In-reply-to: | <Pine.LNX.4.61L.0510041651150.10696@blysk.ds.pg.gda.pl> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <cda58cb80510040149p690397afo@mail.gmail.com> <Pine.LNX.4.61L.0510041219500.10696@blysk.ds.pg.gda.pl> <434277D5.1090603@mips.com> <Pine.LNX.4.61L.0510041358300.10696@blysk.ds.pg.gda.pl> <434289A7.50007@mips.com> <cda58cb80510040818v6d93fe53w@mail.gmail.com> <Pine.LNX.4.61L.0510041651150.10696@blysk.ds.pg.gda.pl> |
| Reply-to: | Franck <vagabon.xyz@gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
2005/10/4, Maciej W. Rozycki <macro@linux-mips.org>:
> On Tue, 4 Oct 2005, Franck wrote:
>
> > should I pass these options to GCC for 4KSc ?
> >
> > cflags-$(CONFIG_CPU_4KSC) += \
> > $(call set_gccflags,4kc,mips32r1,r4600,mips3,mips2) \
> > -msmartmips -Wa,--trap
>
> s/mips32r1/mips32/, otherwise OK.
>
> But since you seem to use SDE, you may as well just use "4ksc" (and
> possibly skip "-msmartmips" as it's implied); similarly for "4ksd".
> Unfortunately documentation on what CPU types are accepted seems to be
> incomplete -- use `gcc -v --help' to see which ones are actually
> available.
>
maybe something like these are better (I removed last parameter since
it's no more used) ?
cflags-$(CONFIG_CPU_4KSC) += \
$(call set_gccflags,4ksc,mips32,4kc,mips32) \
-Wa,--trap
cflags-$(CONFIG_CPU_4KSD) += \
$(call set_gccflags,4ksd,mips32r2,4kec,mips32r2) \
-Wa,--trap
Thanks
--
Franck
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH] Add support for 4KS cpu., Maciej W. Rozycki |
|---|---|
| Next by Date: | Where is op_model_mipsxx.c ?, David Daney |
| Previous by Thread: | Re: [PATCH] Add support for 4KS cpu., Maciej W. Rozycki |
| Next by Thread: | Re: [PATCH] Add support for 4KS cpu., Franck |
| Indexes: | [Date] [Thread] [Top] [All Lists] |