buildit revision 1022
7270737ca9bfa3c5f067e6377068aa597687d094Bob Halley# Script for building OpenSolaris X Consolidation
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence###########################################################################
15a44745412679c30a6d022733925af70a38b715David Lawrence# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
15a44745412679c30a6d022733925af70a38b715David Lawrence# Permission is hereby granted, free of charge, to any person obtaining a
15a44745412679c30a6d022733925af70a38b715David Lawrence# copy of this software and associated documentation files (the "Software"),
15a44745412679c30a6d022733925af70a38b715David Lawrence# to deal in the Software without restriction, including without limitation
15a44745412679c30a6d022733925af70a38b715David Lawrence# the rights to use, copy, modify, merge, publish, distribute, sublicense,
15a44745412679c30a6d022733925af70a38b715David Lawrence# and/or sell copies of the Software, and to permit persons to whom the
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# Software is furnished to do so, subject to the following conditions:
9c3531d72aeaad6c5f01efe6a1c82023e1379e4dDavid Lawrence# The above copyright notice and this permission notice (including the next
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# paragraph) shall be included in all copies or substantial portions of the
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halley# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
440be4c866f6935ac069db79a414304507a664c2Michael Graff# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
fe8d130967804ce76ca98acc00063407cfa0980aAndreas Gustafsson# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
fe8d130967804ce76ca98acc00063407cfa0980aAndreas Gustafsson# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
fe8d130967804ce76ca98acc00063407cfa0980aAndreas Gustafsson# DEALINGS IN THE SOFTWARE.
4dafa5b8ed9f4bcc6308526369c9325d7a520b3fBob Halley###########################################################################
9c4cba349f52bb8176c3858b2b5b340f13603802Brian Wellington# Add /usr/bin to front of path in case user has /usr/gnu/bin default
bb2d54f1b3654857b8cb0209612ed847afbd9d3cMichael Graff# Add /usr/sbin to path for dtrace (to build probes in X servers)
922e6a3c2ac4ef900dd9dc99f0cc137f18372583Andreas GustafssonVERBOSE_FLAGS="" # verbosity flag passed to xmake/make_release_packages
a5d43b72413db3edd6b36a58f9bdf2cf6ff692f2Bob Halleywhile getopts pP:v i; do
0ed6a929818f03c84ae4c4ea6407a6ae5756a54cMichael Graff ?) print -u2 "USAGE: $0 [-p [-P publisher]] [-v]"; exit 2 ;;
# Find hg id and export it so set-elf-comments.pl doesn't have to re-run
gcc -v