linux-mips
[Top] [All Lists]

Re: [PATCH V2 3/8] MIPS: BMIPS: Add CFLAGS, Makefile entries for BMIPS

To: Kevin Cernekee <cernekee@gmail.com>
Subject: Re: [PATCH V2 3/8] MIPS: BMIPS: Add CFLAGS, Makefile entries for BMIPS
From: Ralf Baechle <ralf@linux-mips.org>
Date: Fri, 11 Nov 2011 12:58:33 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <f130d5d9c038f61fa3176b971526cd5f@localhost>
References: <5f9666eb295ce196b2a9688afab07dea@localhost> <f130d5d9c038f61fa3176b971526cd5f@localhost>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Thu, Nov 10, 2011 at 10:30:26PM -0800, Kevin Cernekee wrote:

> +cflags-$(CONFIG_CPU_BMIPS)   += -march=mips32 -Wa,-mips32 -Wa,--trap

> +#define MODULE_PROC_FAMILY "BMIPS "

If BMIPS is just a MIPS32 with no relevant extensions to the instruction
set, why don't you just call it a MIPS32 processor and use something
like CPU_MIPS32_R2?

It's small things like that which can sometimes avoid many unnecessary
recompilations which really saves times when rebuilding all defconfigs
on a way to slow machine :)

  Ralf

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