Skip to contentSkip to conversation

Accept various mips sub-types in SUBARCH

mips Applied Martin Michlmayr 2 participants 2 messages Jan 28, 2006 Kbuild

lore
Share & tools
lore
#0 lore raw

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.

---

 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -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
 # ---------------------------------------------------------------------------
Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/
Applied
#1 lore raw
Quoted 3 lines · Martin Michlmayr

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