linux-mips
[Top] [All Lists]

Re: [PATCH] Add support for 4KS cpu.

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [PATCH] Add support for 4KS cpu.
From: Franck <vagabon.xyz@gmail.com>
Date: Wed, 5 Oct 2005 08:55:15 +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=bCa3nNpPS3nMPWhU19IEwggS/VVcOd2ErptiVMF+8mB//10eD4H7pwXMKDVpMGQjnu2ql2+/Sx6mv6QEY1Ker0h4C29vIb5OBB2MNqVWDBgSC2wWrbeP6R7/KHaAb8zPlI+ynCf3q153UzT7NsNjewr6VcZoFILgSACOdFVfxWE=
In-reply-to: <cda58cb80510041033h2a67f072s@mail.gmail.com>
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> <cda58cb80510041033h2a67f072s@mail.gmail.com>
Reply-to: Franck <vagabon.xyz@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
2005/10/4, Franck <vagabon.xyz@gmail.com>:
> >  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
>

Actually it would be better to let smartmips options in case we use
fallback options:

Thanks
--
               Franck

<Prev in Thread] Current Thread [Next in Thread>