Changeset 623:b4b839410185

Show
Ignore:
Timestamp:
08/14/08 19:46:39 (3 months ago)
Author:
David Anderson <dave@…>
Branch:
default
Message:

Add a help message to the SConstruct file.

This help explains to new users how to build application kernels, which is
not obvious from reading the SConstruct.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • nxos/SConstruct

    r492 r623  
    156156opts = Options('build_flags.py') 
    157157opts.Add(ListOption('appkernels', 
    158                     'List of application kernels to build', 'tests', 
     158                    'List of application kernels to build ' 
     159                    '(by default, only the tests kernel is compiled', 'tests', 
    159160                    buildable_systems)) 
     161 
     162Help(''' 
     163Type: 'scons appkernels=...' to build kernels. 
     164 
     165The application kernel names are the directory names in the systems/ 
     166subdirectory. You can specify several application kernels, separated 
     167by commas.  If you specify no app kernel, only the tests kernel is 
     168built. 
     169 
     170Examples 
     171 
     172 - Build the Marvin application kernel: 
     173     scons appkernels=marvin 
     174 
     175 - Build both Marvin and the tests kernel: 
     176     scons appkernels=tests,marvin 
     177 
     178 - Build all available systems (may require extra external dependencies): 
     179     scons appkernels=all 
     180 
     181 - Build only the baseplate code: 
     182     scons appkernels=none 
     183''') 
    160184 
    161185###############################################################