linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [mips] Accept various mips sub-types in SUBARCH
@ 2006-01-28 18:38 Martin Michlmayr
  2006-01-28 21:27 ` Sam Ravnborg
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Michlmayr @ 2006-01-28 18:38 UTC (permalink / raw)
  To: Sam Ravnborg, torvalds; +Cc: linux-kernel

uname -m on MIPS can give a number of results, such as mips64.  We
need to add another substitution to the sed call for SUBARCH in the
main Makefile.

Signed-off-by: Martin Michlmayr <tbm@cyrius.com>

---

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/Makefile	2006-01-28 18:33:03.000000000 +0000
+++ b/Makefile	2006-01-28 18:33:45.000000000 +0000
@@ -152,7 +152,7 @@
 SUBARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \
 				  -e s/arm.*/arm/ -e s/sa110/arm/ \
 				  -e s/s390x/s390/ -e s/parisc64/parisc/ \
-				  -e s/ppc.*/powerpc/ )
+				  -e s/ppc.*/powerpc/ -e s/mips.*/mips/ )
 
 # Cross compiling and selecting different set of gcc/bin-utils
 # ---------------------------------------------------------------------------

-- 
Martin Michlmayr
http://www.cyrius.com/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [mips] Accept various mips sub-types in SUBARCH
  2006-01-28 18:38 [mips] Accept various mips sub-types in SUBARCH Martin Michlmayr
@ 2006-01-28 21:27 ` Sam Ravnborg
  0 siblings, 0 replies; 2+ messages in thread
From: Sam Ravnborg @ 2006-01-28 21:27 UTC (permalink / raw)
  To: Martin Michlmayr; +Cc: torvalds, linux-kernel

On Sat, Jan 28, 2006 at 06:38:15PM +0000, Martin Michlmayr wrote:
> uname -m on MIPS can give a number of results, such as mips64.  We
> need to add another substitution to the sed call for SUBARCH in the
> main Makefile.
Applied,
	Sam

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-01-28 21:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-28 18:38 [mips] Accept various mips sub-types in SUBARCH Martin Michlmayr
2006-01-28 21:27 ` Sam Ravnborg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).