usr/src/tools/env/opensolaris.sh
author Mark J. Nelson <Mark.J.Nelson@Sun.COM>
Wed, 06 Aug 2008 16:29:39 -0600
changeset 7298 b69e27387f74
parent 5986 bee7599adb0e
child 10517 43ea36a8f8b6
permissions -rw-r--r--
6733918 Teamware has retired, please welcome your new manager, Mercurial 4758439 some files use "current date" sccs keywords 6560843 asm sources should not rely on .file "%M%" for naming STT_FILE symbols 6560958 Solaris:: perl modules should not use SCCS keywords in version information 6729074 webrev doesn't deal well with remote ssh hg parents
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
     1
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
     2
# CDDL HEADER START
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
     3
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
1341
6d7c4f090a72 6376691 move envctrl to usr/src
stevel
parents: 1167
diff changeset
     5
# Common Development and Distribution License (the "License").
6d7c4f090a72 6376691 move envctrl to usr/src
stevel
parents: 1167
diff changeset
     6
# You may not use this file except in compliance with the License.
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
     7
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    10
# See the License for the specific language governing permissions
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    11
# and limitations under the License.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    12
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    18
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    19
# CDDL HEADER END
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    20
#
5986
bee7599adb0e 6375805 comment for CLOSED_IS_PRESENT is ambiguous
kupfer
parents: 2947
diff changeset
    21
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
1341
6d7c4f090a72 6376691 move envctrl to usr/src
stevel
parents: 1167
diff changeset
    22
# Use is subject to license terms.
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    23
#
7298
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    24
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    25
#	Configuration variables for the runtime environment of the nightly
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    26
# build script and other tools for construction and packaging of releases.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    27
# This script is sourced by 'nightly' and 'bldenv' to set up the environment
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    28
# for the build. This example is suitable for building an OpenSolaris
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    29
# workspace, which will contain the resulting archives. It is based
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    30
# off the onnv release. It sets NIGHTLY_OPTIONS to make nightly do:
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    31
#	DEBUG build only (-D, -F)
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    32
#	do not run protocmp or checkpaths (-N)
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    33
#	do not bringover from the parent (-n)
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    34
#	creates cpio archives for bfu (-a)
2228
89527020d623 6357052 zulu driver Makefile breaks lint without debug build
krishna
parents: 1341
diff changeset
    35
#	runs 'make check' (-C)
89527020d623 6357052 zulu driver Makefile breaks lint without debug build
krishna
parents: 1341
diff changeset
    36
#	runs lint in usr/src (-l plus the LINTDIRS variable)
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    37
#	sends mail on completion (-m and the MAILTO variable)
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    38
#	checks for changes in ELF runpaths (-r)
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    39
#	build and use this workspace's tools in $SRC/tools (-t)
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    40
#
2294
658bd7c13512 4416654 warning filter list in nightly should be cleaned up
meem
parents: 2228
diff changeset
    41
NIGHTLY_OPTIONS="-FNnaCDlmrt";		export NIGHTLY_OPTIONS
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    42
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    43
# This is a variable for the rest of the script - GATE doesn't matter to
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    44
# nightly itself
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    45
GATE=testws;			export GATE
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    46
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    47
# CODEMGR_WS - where is your workspace at (or what should nightly name it)
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    48
CODEMGR_WS="/export/$GATE";			export CODEMGR_WS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    49
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    50
# Location of encumbered binaries.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    51
ON_CLOSED_BINS="$CODEMGR_WS/closed";		export ON_CLOSED_BINS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    52
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    53
# This flag controls whether to build the closed source.  If
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    54
# undefined, nightly(1) and bldenv(1) will set it according to whether
5986
bee7599adb0e 6375805 comment for CLOSED_IS_PRESENT is ambiguous
kupfer
parents: 2947
diff changeset
    55
# the closed source tree is present.  CLOSED_IS_PRESENT="no" means not
bee7599adb0e 6375805 comment for CLOSED_IS_PRESENT is ambiguous
kupfer
parents: 2947
diff changeset
    56
# building the closed sources.
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    57
# CLOSED_IS_PRESENT="no";		export CLOSED_IS_PRESENT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    58
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    59
# Maximum number of dmake jobs.  The recommended number is 2 + (2 *
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    60
# NCPUS), where NCPUS is the number of CPUs on your build system.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    61
maxjobs() {
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    62
	ncpu=`/usr/sbin/psrinfo -p`
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    63
	expr $ncpu \* 2 + 2
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    64
}
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    65
DMAKE_MAX_JOBS=`maxjobs`;			export DMAKE_MAX_JOBS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    66
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    67
# path to onbld tool binaries
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    68
ONBLD_BIN="/opt/onbld/bin"
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    69
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    70
# used by bfu.
1341
6d7c4f090a72 6376691 move envctrl to usr/src
stevel
parents: 1167
diff changeset
    71
FASTFS=$ONBLD_BIN/`uname -p`/fastfs;		export FASTFS
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    72
BFULD=$ONBLD_BIN/`uname -p`/bfuld;		export BFULD
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    73
GZIPBIN=/usr/bin/gzip;				export GZIPBIN
1341
6d7c4f090a72 6376691 move envctrl to usr/src
stevel
parents: 1167
diff changeset
    74
ACR=$ONBLD_BIN/acr;				export ACR
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    75
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    76
# PARENT_WS is used to determine the parent of this workspace. This is
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    77
# for the options that deal with the parent workspace (such as where the
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    78
# proto area will go).
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    79
PARENT_WS="";			export PARENT_WS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    80
7298
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    81
# CLONE_WS is the workspace nightly should do a bringover from.
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    82
CLONE_WS="ssh://[email protected]//hg/onnv/onnv-gate"
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    83
export CLONE_WS
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    84
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    85
# The bringover, if any, is done as STAFFER.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    86
# Set STAFFER to your own login as gatekeeper or developer
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    87
# The point is to use group "staff" and avoid referencing the parent
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    88
# workspace as root.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    89
# Some scripts optionally send mail messages to MAILTO.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    90
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    91
STAFFER=nobody;				export STAFFER
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    92
MAILTO=$STAFFER;			export MAILTO
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    93
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    94
# The project (see project(4)) under which to run this build.  If not
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    95
# specified, the build is simply run in a new task in the current project.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    96
BUILD_PROJECT=;				export BUILD_PROJECT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    97
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    98
# You should not need to change the next four lines
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
    99
LOCKNAME="`basename $CODEMGR_WS`_nightly.lock"; export LOCKNAME
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   100
ATLOG="$CODEMGR_WS/log";			export ATLOG
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   101
LOGFILE="$ATLOG/nightly.log";			export LOGFILE
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   102
MACH=`uname -p`;				export MACH
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   103
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   104
# REF_PROTO_LIST - for comparing the list of stuff in your proto area
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   105
# with. Generally this should be left alone, since you want to see differences
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   106
# from your parent (the gate).
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   107
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   108
REF_PROTO_LIST=$PARENT_WS/usr/src/proto_list_${MACH}; export REF_PROTO_LIST
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   109
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   110
# where cpio archives of the OS are placed. Usually this should be left
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   111
# alone too.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   112
CPIODIR="${CODEMGR_WS}/archives/${MACH}/nightly";	export CPIODIR
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   113
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   114
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   115
#	build environment variables, including version info for mcs, motd,
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   116
# motd, uname and boot messages. Mostly you shouldn't change this except
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   117
# when the release slips (nah) or you move an environment file to a new
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   118
# release
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   119
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   120
ROOT="$CODEMGR_WS/proto/root_${MACH}";	export ROOT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   121
SRC="$CODEMGR_WS/usr/src";         	export SRC
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   122
VERSION="$GATE";			export VERSION
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   123
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   124
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   125
# the RELEASE and RELEASE_DATE variables are set in Makefile.master;
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   126
# there might be special reasons to override them here, but that
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   127
# should not be the case in general
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   128
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   129
# RELEASE="5.11";			export RELEASE
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   130
# RELEASE_DATE="October 2007";		export RELEASE_DATE
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   131
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   132
# proto area in parent for optionally depositing a copy of headers and
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   133
# libraries corresponding to the protolibs target
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   134
# not applicable given the NIGHTLY_OPTIONS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   135
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   136
PARENT_ROOT=$PARENT_WS/proto/root_$MACH; export PARENT_ROOT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   137
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   138
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   139
#       package creation variable. you probably shouldn't change this either.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   140
#
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   141
PKGARCHIVE="${CODEMGR_WS}/packages/${MACH}/nightly";	export PKGARCHIVE
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   142
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   143
# we want make to do as much as it can, just in case there's more than
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   144
# one problem.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   145
MAKEFLAGS=k;	export MAKEFLAGS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   146
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   147
# Magic variable to prevent the devpro compilers/teamware from sending
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   148
# mail back to devpro on every use.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   149
UT_NO_USAGE_TRACKING="1"; export UT_NO_USAGE_TRACKING
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   150
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   151
# Build tools - don't change these unless you know what you're doing.  These
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   152
# variables allows you to get the compilers and onbld files locally or
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   153
# through cachefs.  Set BUILD_TOOLS to pull everything from one location.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   154
# Alternately, you can set ONBLD_TOOLS to where you keep the contents of
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   155
# SUNWonbld and SPRO_ROOT to where you keep the compilers.  SPRO_VROOT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   156
# exists to make it easier to test new versions of the compiler.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   157
BUILD_TOOLS=/opt;				export BUILD_TOOLS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   158
#ONBLD_TOOLS=/opt/onbld;			export ONBLD_TOOLS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   159
SPRO_ROOT=/opt/SUNWspro;			export SPRO_ROOT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   160
SPRO_VROOT=$SPRO_ROOT;				export SPRO_VROOT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   161
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   162
# This goes along with lint - it is a series of the form "A [y|n]" which
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   163
# means "go to directory A and run 'make lint'" Then mail me (y) the
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   164
# difference in the lint output. 'y' should only be used if the area you're
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   165
# linting is actually lint clean or you'll get lots of mail.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   166
# You shouldn't need to change this though.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   167
#LINTDIRS="$SRC y";	export LINTDIRS
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   168
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   169
# Set this flag to 'n' to disable the automatic validation of the dmake
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   170
# version in use.  The default is to check it.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   171
#CHECK_DMAKE=y
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   172
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   173
# Set this flag to 'n' to disable the use of 'checkpaths'.  The default,
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   174
# if the 'N' option is not specified, is to run this test.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   175
#CHECK_PATHS=y
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   176
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   177
# BRINGOVER_FILES is the list of files nightly passes to bringover.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   178
# If not set the default is "usr", but it can be used for bringing
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   179
# over deleted_files or other nifty directories.
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents:
diff changeset
   180
#BRINGOVER_FILES="usr deleted_files"
2405
cf343ae5c543 6451117 at its conclusion, nightly should be able to run commands specified in environment
rscott
parents: 2294
diff changeset
   181
2456
0bd2410bad66 6451253 6451117 should have spent a bit more time in code review
rscott
parents: 2405
diff changeset
   182
# POST_NIGHTLY can be any command to be run at the end of nightly.  See
0bd2410bad66 6451253 6451117 should have spent a bit more time in code review
rscott
parents: 2405
diff changeset
   183
# nightly(1) for interactions between environment variables and this command.
2405
cf343ae5c543 6451117 at its conclusion, nightly should be able to run commands specified in environment
rscott
parents: 2294
diff changeset
   184
#POST_NIGHTLY=