From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Wed, 05 Oct 2005 07:55:42 +0100 (BST) Received: from zproxy.gmail.com ([64.233.162.195]:42725 "EHLO zproxy.gmail.com") by ftp.linux-mips.org with ESMTP id S8133512AbVJEGzW convert rfc822-to-8bit (ORCPT ); Wed, 5 Oct 2005 07:55:22 +0100 Received: by zproxy.gmail.com with SMTP id j2so54320nzf for ; Tue, 04 Oct 2005 23:55:16 -0700 (PDT) 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= Received: by 10.36.138.5 with SMTP id l5mr219646nzd; Tue, 04 Oct 2005 23:55:16 -0700 (PDT) Received: by 10.36.49.3 with HTTP; Tue, 4 Oct 2005 23:55:15 -0700 (PDT) Message-ID: Date: Wed, 5 Oct 2005 08:55:15 +0200 From: Franck Reply-To: Franck To: "Maciej W. Rozycki" Subject: Re: [PATCH] Add support for 4KS cpu. Cc: "Kevin D. Kissell" , Ralf Baechle , linux-mips@linux-mips.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Content-Disposition: inline References: <434277D5.1090603@mips.com> <434289A7.50007@mips.com> Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 9144 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: vagabon.xyz@gmail.com Precedence: bulk X-list: linux-mips 2005/10/4, Franck : > > 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