Author: imp
Date: Tue Nov  9 22:32:09 2010
New Revision: 215065
URL: http://svn.freebsd.org/changeset/base/215065

Log:
  Merge from tbemd:
  o TARGET=mips --> little endian 32-bit mips build
  o mipsel and mipseb TARGET_ARCH are both mips TARGETs
  o Add some more architecture combinations

Modified:
  head/Makefile.inc1

Modified: head/Makefile.inc1
==============================================================================
--- head/Makefile.inc1  Tue Nov  9 22:18:20 2010        (r215064)
+++ head/Makefile.inc1  Tue Nov  9 22:32:09 2010        (r215065)
@@ -118,16 +118,16 @@ VERSION+= ${OSRELDATE}
 
 # Guess machine architecture from machine type, and vice versa.
 .if !defined(TARGET_ARCH) && defined(TARGET)
-TARGET_ARCH=   ${TARGET:S/pc98/i386/:S/sun4v/sparc64/}
+TARGET_ARCH=   ${TARGET:S/pc98/i386/:S/sun4v/sparc64/:S/mips/mipsel/}
 .elif !defined(TARGET) && defined(TARGET_ARCH) && \
     ${TARGET_ARCH} != ${MACHINE_ARCH}
-TARGET=                ${TARGET_ARCH}
+TARGET=                ${TARGET_ARCH:C/mipse[lb]/mips/:C/armeb/arm}
 .endif
 # Otherwise, default to current machine type and architecture.
 TARGET?=       ${MACHINE}
 TARGET_ARCH?=  ${MACHINE_ARCH}
 
-KNOWN_ARCHES?= amd64 arm i386 i386/pc98 ia64 mips powerpc powerpc64/powerpc 
sparc64 sparc64/sun4v
+KNOWN_ARCHES?= amd64 arm armeb/arm i386 i386/pc98 ia64 mipsel/mips mipseb/mips 
powerpc powerpc64/powerpc sparc64 sparc64/sun4v
 .if ${TARGET} == ${TARGET_ARCH}
 _t=            ${TARGET}
 .else
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to