usr/src/tools/env/gatekeeper.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 8788 1deb6902d5ac
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:
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     1
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     2
# CDDL HEADER START
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     3
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
2294
658bd7c13512 4416654 warning filter list in nightly should be cleaned up
meem
parents: 1167
diff changeset
     5
# Common Development and Distribution License (the "License").
658bd7c13512 4416654 warning filter list in nightly should be cleaned up
meem
parents: 1167
diff changeset
     6
# You may not use this file except in compliance with the License.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     7
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    10
# See the License for the specific language governing permissions
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    11
# and limitations under the License.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    12
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    18
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    19
# CDDL HEADER END
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    20
#
2868
c6c11cf3e587 6460124 nightly -X doesn't properly copy the IHV proto area
dduvall
parents: 2639
diff changeset
    21
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    22
#
5986
bee7599adb0e 6375805 comment for CLOSED_IS_PRESENT is ambiguous
kupfer
parents: 2947
diff changeset
    23
# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    24
# Use is subject to license terms.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    25
#
2868
c6c11cf3e587 6460124 nightly -X doesn't properly copy the IHV proto area
dduvall
parents: 2639
diff changeset
    26
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    27
#	Configuration variables for the runtime environment of the nightly
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    28
# build script and other tools for construction and packaging of releases.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    29
# This script is sourced by 'nightly' and 'bldenv' to set up the environment
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    30
# for the build. This example is suitable for building a gate, 
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    31
# which will contain the resulting packages and archives (builds of the gate
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    32
# are done in children and then the resulting archives, packages, and proto
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    33
# area are put into the parent for everyone to use). It is based off
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    34
# the onnv release. It sets NIGHTLY_OPTIONS to make nightly do:
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    35
#	DEBUG and non-DEBUG builds (-D)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    36
#	creates cpio archives for bfu (-a)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    37
#	creates packages for PIT/RE (-p)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    38
#	checks for new interfaces in libraries (-A)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    39
#	runs 'make check' (-C)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    40
#	runs lint in usr/src (-l plus the LINTDIRS variable)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    41
#	sends mail on completion (-m and the MAILTO variable)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    42
#	updates the protolist in the parent for children to compare with (-u)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    43
#	updates the proto area in the parent when done (-U)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    44
#	checks for changes in ELF runpaths (-r)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    45
#	checks for changes in unreferenced files (-f)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    46
#
2294
658bd7c13512 4416654 warning filter list in nightly should be cleaned up
meem
parents: 1167
diff changeset
    47
NIGHTLY_OPTIONS="-aADClmpuUrf";		export NIGHTLY_OPTIONS
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    48
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    49
# This is a variable for the rest of the script - GATE doesn't matter to
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    50
# nightly itself
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    51
GATE=onnv-gate;					export GATE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    52
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    53
# CODEMGR_WS - where is your workspace at (or what should nightly name it)
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    54
# there is only one definition here, which assumes all the gate build machines
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    55
# (sparc and x86) are set up the same. But remember, this is a script, so
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    56
# you _could_ look at $MACH or `uname -n` and set these variables differently.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    57
CODEMGR_WS="/builds/$GATE";			export CODEMGR_WS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    58
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    59
# PARENT_WS is used to determine the parent of this workspace. This is
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    60
# for the options that deal with the parent workspace (such as where the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    61
# proto area will go).
7298
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    62
#
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    63
# If you use this, it must be local (or nfs): nightly cannot copy
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    64
# over ssh or http.
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    65
PARENT_WS="/ws/$GATE";				export PARENT_WS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    66
7298
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    67
# 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
    68
CLONE_WS="ssh://onnv.sfbay.sun.com//export/onnv-clone";	export CLONE_WS
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    69
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    70
# CLOSED_CLONE_WS is the workspace from which nightly will acquire the
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    71
# usr/closed tree.
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    72
CLOSED_CLONE_WS="${CLONE_WS}/usr/closed"
b69e27387f74 6733918 Teamware has retired, please welcome your new manager, Mercurial
Mark J. Nelson <Mark.J.Nelson@Sun.COM>
parents: 5986
diff changeset
    73
export CLOSED_CLONE_WS
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    74
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents: 458
diff changeset
    75
# This flag controls whether to build the closed source.  If
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents: 458
diff changeset
    76
# 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
    77
# 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
    78
# building the closed sources.
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents: 458
diff changeset
    79
# CLOSED_IS_PRESENT="yes";		export CLOSED_IS_PRESENT
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents: 458
diff changeset
    80
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    81
# The bringover, if any, is done as STAFFER.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    82
# Set STAFFER to your own login as gatekeeper or integration engineer.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    83
# The point is to use group "staff" and avoid referencing the parent
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    84
# workspace as root.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    85
# Some scripts optionally send mail messages to MAILTO.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    86
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    87
STAFFER=nobody;				export STAFFER
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    88
MAILTO=$STAFFER;			export MAILTO
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    89
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    90
# The project (see project(4)) under which to run this build.  If not
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    91
# specified, the build is simply run in a new task in the current project.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    92
BUILD_PROJECT=;				export BUILD_PROJECT
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    93
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    94
# You should not need to change the next four lines
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    95
LOCKNAME="`basename $CODEMGR_WS`_nightly.lock"; export LOCKNAME
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    96
ATLOG="$CODEMGR_WS/log";			export ATLOG
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    97
LOGFILE="$ATLOG/nightly.log";			export LOGFILE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    98
MACH=`uname -p`;				export MACH
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
    99
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   100
# REF_PROTO_LIST - for comparing the list of stuff in your proto area
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   101
# with. Generally this should be left alone, since you want to see differences
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   102
# between todays build and yesterdays.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   103
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   104
REF_PROTO_LIST=$PARENT_WS/usr/src/proto_list_${MACH}; export REF_PROTO_LIST
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   105
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   106
# where cpio archives of the OS are placed. Usually this should be left
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   107
# alone too. Here they don't go in the build workspace, but in the parent.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   108
# Since this is done as root, the build machine needs root acces to
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   109
# the parent over NFS.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   110
CPIODIR="${PARENT_WS}/archives/${MACH}/nightly";	export CPIODIR
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   111
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   112
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   113
#	build environment variables, including version info for mcs, motd,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   114
# motd, uname and boot messages. Mostly you shouldn't change this except
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   115
# when the release slips (nah) or when starting a new release.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   116
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   117
ROOT="$CODEMGR_WS/proto/root_${MACH}";	export ROOT
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   118
SRC="$CODEMGR_WS/usr/src";         	export SRC
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   119
VERSION="$GATE";			export VERSION
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   120
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   121
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   122
# the RELEASE and RELEASE_DATE variables are set in Makefile.master;
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   123
# there might be special reasons to override them here, but that
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   124
# should not be the case in general
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   125
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   126
# RELEASE="5.10.1";			export RELEASE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   127
# RELEASE_DATE="October 2007";		export RELEASE_DATE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   128
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   129
# proto area in parent for optionally depositing a copy of headers and
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   130
# libraries corresponding to the protolibs target
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   131
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   132
PARENT_ROOT=$PARENT_WS/proto/root_$MACH; export PARENT_ROOT
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   133
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   134
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   135
#       package creation variable. This put the packages in the parent.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   136
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   137
PKGARCHIVE="${PARENT_WS}/packages/${MACH}/nightly";	export PKGARCHIVE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   138
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   139
# we want make to do as much as it can, just in case there's more than
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   140
# one problem. This is especially important with the gate, since multiple
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   141
# unrelated broken things can be integrated.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   142
MAKEFLAGS=k;	export MAKEFLAGS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   143
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   144
# Magic variable to prevent the devpro compilers/teamware from sending
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   145
# mail back to devpro on every use.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   146
UT_NO_USAGE_TRACKING="1"; export UT_NO_USAGE_TRACKING
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   147
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   148
# Build tools - don't set these unless you know what you're doing.  These
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   149
# variables allows you to get the compilers and onbld files locally or
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   150
# through cachefs.  Set BUILD_TOOLS to pull everything from one location.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   151
# Alternately, you can set ONBLD_TOOLS to where you keep the contents of
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   152
# SUNWonbld and SPRO_ROOT to where you keep the compilers.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   153
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   154
#BUILD_TOOLS=/opt;				export BUILD_TOOLS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   155
#ONBLD_TOOLS=/opt/onbld;			export ONBLD_TOOLS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   156
#SPRO_ROOT=/opt/SUNspro;			export SPRO_ROOT
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   157
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   158
# This goes along with lint - it is a series of the form "A [y|n]" which
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   159
# means "go to directory A and run 'make lint'" Then mail me (y) the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   160
# difference in the lint output. 'y' should only be used if the area you're
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   161
# linting is actually lint clean or you'll get lots of mail.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   162
# You shouldn't need to change this though.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   163
#LINTDIRS="$SRC y";	export LINTDIRS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   164
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   165
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   166
# Reference to IA32 IHV workspace, proto area and packages
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   167
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   168
#IA32_IHV_WS=/ws/${GATE}-ihv;				export IA32_IHV_WS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   169
#IA32_IHV_ROOT=$IA32_IHV_WS/proto/root_i386;		export IA32_IHV_ROOT
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   170
#IA32_IHV_PKGS=$IA32_IHV_WS/packages/i386/nightly;	export IA32_IHV_PKGS
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   171
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   172
#
2868
c6c11cf3e587 6460124 nightly -X doesn't properly copy the IHV proto area
dduvall
parents: 2639
diff changeset
   173
# Reference to binary-only IA32 IHV packages
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   174
#
2868
c6c11cf3e587 6460124 nightly -X doesn't properly copy the IHV proto area
dduvall
parents: 2639
diff changeset
   175
#IA32_IHV_BINARY_PKGS=/ws/${GATE}-ihv-bin
c6c11cf3e587 6460124 nightly -X doesn't properly copy the IHV proto area
dduvall
parents: 2639
diff changeset
   176
#export IA32_IHV_BINARY_PKGS
0
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   177
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   178
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   179
# Destination for sparc realmode package SUNWrmodu
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   180
#
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   181
#SPARC_RM_PKGARCHIVE="${CODEMGR_WS}/packages/sparc_realmode/nightly"
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   182
#export SPARC_RM_PKGARCHIVE
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   183
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   184
# Set this flag to 'n' to disable the automatic validation of the dmake
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   185
# version in use.  The default is to check it.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   186
#CHECK_DMAKE=y
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   187
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   188
# Set this flag to 'n' to disable the use of 'checkpaths'.  The default,
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   189
# if the 'N' option is not specified, is to run this test.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   190
#CHECK_PATHS=y
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   191
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   192
# Set this flag to 'y' to enable the use of elfsigncmp to validate the
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   193
# output of elfsign.  Doing so requires that 't' be set in NIGHTLY_OPTIONS.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   194
# The default is to not verify them.
68f95e015346 OpenSolaris Launch
stevel@tonic-gate
parents:
diff changeset
   195
#VERIFY_ELFSIGN=n
458
92c1210ccd92 4933161 nightly should allow the env file to choose what files to bringover
mike_s
parents: 0
diff changeset
   196
92c1210ccd92 4933161 nightly should allow the env file to choose what files to bringover
mike_s
parents: 0
diff changeset
   197
# BRINGOVER_FILES is the list of files nightly passes to bringover. 
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents: 458
diff changeset
   198
# If not set the default is "usr", but it can be used for bringing 
458
92c1210ccd92 4933161 nightly should allow the env file to choose what files to bringover
mike_s
parents: 0
diff changeset
   199
# over deleted_files or other nifty directories. 
1167
9608ad751c4d 6289535 build_cscope complains a bit on x86
kupfer
parents: 458
diff changeset
   200
#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
   201
2456
0bd2410bad66 6451253 6451117 should have spent a bit more time in code review
rscott
parents: 2405
diff changeset
   202
# 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
   203
# 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
   204
#POST_NIGHTLY=