Print this page
9001 cdm is useless, remove it
9002 webrev should know how to get the git user name
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/tools/README.tools
          +++ new/usr/src/tools/README.tools
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  
  43   43  /opt/onbld/env
  44   44          build environment files.
  45   45  
  46   46  /opt/onbld/lib
  47   47          libraries used by the build tools.
  48   48  
  49   49  /opt/onbld/lib/python<version>/
  50   50          python modules used by the build tools.
  51   51  
  52      -/opt/onbld/lib/python<version>/onbld/hgext
  53      -        Mercurial extensions.
  54      -
  55   52  /opt/onbld/lib/python/ 
  56   53          symlink to the modules directory of the currently preferred
  57      -        python version.  This exists to retain compatibility both for
  58      -        tools expecting only one supported version of python, and for
  59      -        user .hgrc files that expect to find cdm.py in
  60      -        /opt/onbld/lib/python/onbld/hgext.
       54 +        python version.
  61   55  
  62   56  /opt/onbld/man
  63   57          rudimentary man pages for some of the tools.
  64   58  
  65   59  
  66   60  Tool Summary
  67   61  ------------
  68   62  
  69   63  bldenv
  70   64          companion to 'nightly.' Takes the same environment file you
↓ open down ↓ 1 lines elided ↑ open up ↑
  72   66          set up the same way as 'nightly' set it up. This is useful
  73   67          if you're trying to quickly rebuild portions of a workspace
  74   68          built by 'nightly'. 'ws' should not be used for this since it
  75   69          sets the environment up differently and may cause everything
  76   70          to rebuild (because of different -I or -L paths).
  77   71  
  78   72  build_cscope
  79   73          builds cscope databases in the uts, the platform subdirectories
  80   74          of uts, and in usr/src. Uses cscope-fast.
  81   75  
  82      -cdm 
  83      -        A Mercurial extension providing various commands useful for ON
  84      -        development
  85      -
  86   76  check_rtime
  87   77          checks ELF attributes used by ELF dynamic objects in the proto area.
  88   78          Used by 'nightly's -r option, to check a number of ELF runtime
  89   79          attributes for consistency with common build rules.  nightly uses
  90   80          the -o option to simplify the output for diffing with previous
  91   81          build results.  It also uses the -i option to obtain NEEDED and RUNPATH
  92   82          entries, which help detect changes in software dependencies and makes
  93   83          sure objects don't have any strange runpaths like /opt/SUNWspro/lib.
  94   84  
  95   85  codereview
↓ open down ↓ 58 lines elided ↑ open up ↑
 154  144  
 155  145          $ findunref $INTELSRC $INTELSRC/tools/findunref/exception_list | \
 156  146            sort > ~/unref-i386.out
 157  147          $ findunref $SPARCSRC $SPARCSRC/tools/findunref/exception_list | \
 158  148            sort > ~/unref-sparc.out
 159  149          $ comm -12 ~/unref-i386.out ~/unref-sparc.out > ~/unref.out
 160  150  
 161  151  hdrchk
 162  152          checks headers for compliance with OS/Net standards (form, includes,
 163  153          C++ guards).
 164      -
 165      -hgsetup
 166      -        creates a basic Mercurial configuration for the user.
 167      -
 168      -hg-active
 169      -        helper used by webrev to generate file lists for Mercurial
 170      -        workspaces.
 171  154  
 172  155  install.bin
 173  156          binary version of /usr/sbin/install. Used to be vastly faster
 174  157          (since /usr/sbin/install is a shell script), but may only be a bit
 175  158          faster now. One speedup includes avoiding the name service for the
 176  159          well-known, never-changing password entries like 'root' and 'sys.'
 177  160  
 178  161  interface_check
 179  162          detects and reports invalid versioning in ELF objects.
 180  163          Optionally generates an interface description file for
↓ open down ↓ 98 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX