Add new variable "SPARC_TARGET_ARCH" used to select the target architecture

under Solaris/SPARC. Default is "sparcv7".
This commit is contained in:
tron 2001-07-10 15:07:35 +00:00
parent 3affde40dd
commit 75d0cbc0b3
2 changed files with 10 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.prefs.mk,v 1.51 2001/07/10 11:13:31 tron Exp $
# $NetBSD: bsd.prefs.mk,v 1.52 2001/07/10 15:07:35 tron Exp $
#
# Make file, included to get the site preferences, if any. Should
# only be included by package Makefiles before any .if defined()
@ -58,6 +58,9 @@ MAKEFLAGS+= LOWER_ARCH=${LOWER_ARCH}
. endif
LOWER_VENDOR?= sun
LOWER_OPSYS?= solaris
.if (${MACHINE_ARCH} == sparc)
SPARC_TARGET_ARCH?= sparcv7
.endif
# We need to set this early to get "USE_MESA" and "USE_XPM" working.
X11BASE?= ${DESTDIR}/usr/openwin

View file

@ -1,4 +1,4 @@
# $NetBSD: mk.conf.example,v 1.232 2001/06/20 14:32:56 nra Exp $
# $NetBSD: mk.conf.example,v 1.233 2001/07/10 15:07:35 tron Exp $
#
# Sample /etc/mk.conf file, which can be used to set specific values
@ -873,6 +873,11 @@ PAPERSIZE= A4
# Possible: /dev/your_favorite_serial_device0 /dev/your_favorite_serial_device1 ...
# Default: defaults for various machine_archs are set in mk/bsd.prefs.mk
#SPARC_TARGET_ARCH=
# Select SPARC target architecture under Solaris.
# Possible: sparcv7, sparcv8 or sparcv9.
# Default: sparcv7
#SQUID_CONFIGURE_ARGS=
# Used in squid package to set build configuration options.
# Possible: see "configure --help"