How To Build Solaris FRM Source Code
How To Build Solaris FRM Source Code
2.1 PATH
# PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/opt/onbld/bin/i386:$PATH
2.2 Copy and set environment file
# cp usr/src/tools/env/opensolaris.sh /export/testws/
modify opensolaris.sh for your $CODEMGR_WS, $STAFF, $MAILTO settings
• change GATE to none or the name of the top-level directory (e.g., "testws").
• change CODEMGR_WS to the your workspace (e.g., "/export/testws").
• change STAFFER to your login (e.g., root).
• (optional) change MAILTO to you email address.
• (optional) customize VERSION. This is the string that "uname -v"
will print.
3. Build
3.1 Nightly Build (build the whole ON source)
# nightly ./opensolaris.sh & tail -f log/nightly.log
nightly options:
• -n: no bringover (default)
• -i: incremental build (no clobber)
• -D: do a build with DEBUG on
• -F: do not do a non-DEBUG build
3.2 Single module Build
• make a single module:
bldenv opensolaris.sh; cd usr/src/uts/intel/i915; make
[ Reference links]
• Building Opensolaris
• A Chinese Guide of OpenSolaris build (it's for snv_23 only, but is quite workable with current
builds)ON/Nevada project page
• Glossary(consolidation, gate, ON, Nevada, putback, workspace, WOS, etc.)
• Operating System/Networking (ON) Download Center
• OpenSolaris Download Center, which contains:
• ON source
• SUNWonbld
• on-closed-bins
Posted on: Oct 04, 2007
Posted by: colin
Category: Technology
Permanent link to this entry