mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-29 16:44:03 +00:00
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:
parent
951c63bc3a
commit
61517751a7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163446
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user