Add sun4v to the TARGET_ARCH when just TARGET is set (like pc98 is done).

This is required for 'make universe'.
This commit is contained in:
John Birrell 2006-10-16 22:18:13 +00:00
parent 951c63bc3a
commit 61517751a7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163446

View File

@ -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}