$ bldenv --version version bldenv (OS/Net) 2007-12-17 $ bldenv --man NAME bldenv - spawn shell for interactive incremental OS-Net consolidation builds SYNOPSIS bldenv [ options ] DESCRIPTION bldenv is a useful companion to the nightly(1) script for doing interactive and incremental builds in a workspace already built with nightly(1). bldenv spawns a shell set up with the same environment variables taken from an env_file, as prepared for use with nightly(1). In addition to running a shell for interactive use, bldenv can optionally run a single command in the given environment, in the vein of sh -c or su -c. This is useful for scripting, when an interactive shell would not be. If the command is composed of multiple shell words or contains other shell metacharacters, it must be quoted appropriately. bldenv is particularly useful for testing Makefile targets like clobber, install and _msg, which otherwise require digging through large build logs to figure out what is being done. bldenv is also useful if you run into build issues with the source product or when generating OpenSolaris deliverables. If a source product build is flagged, the environment is set up for building the indicated source product tree, which is assumed to have already been created. If the OpenSolaris deliverables flag (-O) is set in NIGHTLY_OPTIONS, the environment is set up for building just the open source. This includes using an alternate proto area, as well as using the closed binaries in $CODEMGR_WS/closed.skel (which is assumed to already exist). By default, bldenv will invoke the shell specified in $SHELL. If $SHELL is not set or is invalid, csh will be used. OPTIONS -c force the use of csh, regardless of the value of $SHELL. -f invoke csh with the -f (fast-start) option. This option is valid only if $SHELL is unset or if it points to csh. -d set up environment for doing DEBUG builds (default is non-DEBUG) -t set up environment to use the tools in usr/src/tools -S option Build a variant of the source product. The value of option must be one of the following: E build exportable source. D build domestic source (exportable + crypt). H build hybrid source (binaries + deleted source). O simulate OpenSolaris build. SEE ALSO nightly(1) IMPLEMENTATION version bldenv (OS/Net) 2007-12-17 author OS/Net gatekeepers