summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-11-09 22:32:09 +0000
committerimp <imp@FreeBSD.org>2010-11-09 22:32:09 +0000
commit10425d51e74a8a1537764e6134c71bfbfc2d66b5 (patch)
treed7070503d6f9c7463d5882984165835c9a6becb1 /Makefile.inc1
parentacd72eb169c94eb88945f1aa0961399de232932a (diff)
downloadFreeBSD-src-10425d51e74a8a1537764e6134c71bfbfc2d66b5.zip
FreeBSD-src-10425d51e74a8a1537764e6134c71bfbfc2d66b5.tar.gz
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
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc16
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index a08e4ca..d8bbd44 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -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
OpenPOWER on IntegriCloud