summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>2006-10-16 22:18:13 +0000
committerjb <jb@FreeBSD.org>2006-10-16 22:18:13 +0000
commit40f6dbb3aa3baa0c6015995d3b839e0d931ec963 (patch)
tree74db92b8548b3b153caac1366de6ee681af5cef1 /Makefile.inc1
parent0650419968225b45cb457b515f530e7aabe444fa (diff)
downloadFreeBSD-src-40f6dbb3aa3baa0c6015995d3b839e0d931ec963.zip
FreeBSD-src-40f6dbb3aa3baa0c6015995d3b839e0d931ec963.tar.gz
Add sun4v to the TARGET_ARCH when just TARGET is set (like pc98 is done).
This is required for 'make universe'.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index 4fda6db..34eaa89 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -98,7 +98,7 @@ OSRELDATE= 0
# Guess machine architecture from machine type, and vice versa.
.if !defined(TARGET_ARCH) && defined(TARGET)
-TARGET_ARCH= ${TARGET:S/pc98/i386/}
+TARGET_ARCH= ${TARGET:S/pc98/i386/:S/sun4v/sparc64/}
.elif !defined(TARGET) && defined(TARGET_ARCH) && \
${TARGET_ARCH} != ${MACHINE_ARCH}
TARGET= ${TARGET_ARCH}
OpenPOWER on IntegriCloud