Changeset 4ef2f41 in rtems_waf
- Timestamp:
- 04/06/18 06:54:34 (5 years ago)
- Branches:
- 1a118bbcd52138dbdc3236e64bc23fd430a064b1
- Children:
- f490cd3
- Parents:
- de75eec
- git-author:
- Christian Mauderer <christian.mauderer@…> (04/06/18 06:54:34)
- git-committer:
- Chris Johns <chrisj@…> (04/06/18 06:58:15)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rtems.py
rde75eec r4ef2f41 70 70 help = 'Print the commands as strings.') 71 71 72 def init(ctx, filters = None, version = None, long_commands = False ):72 def init(ctx, filters = None, version = None, long_commands = False, bsp_init = None): 73 73 global rtems_filters 74 74 global rtems_default_version … … 113 113 114 114 # 115 # Update the context es for all the bsps.115 # Update the contexts for all the bsps. 116 116 # 117 117 from waflib.Build import BuildContext, CleanContext, \ 118 118 InstallContext, UninstallContext 119 contexts = [] 119 120 for x in arch_bsps: 120 121 for y in (BuildContext, CleanContext, InstallContext, UninstallContext): … … 123 124 cmd = name + '-' + x 124 125 variant = x 126 contexts += [context] 125 127 126 128 # … … 137 139 except: 138 140 pass 141 142 if bsp_init: 143 bsp_init(ctx, env, contexts) 139 144 140 145 def configure(conf, bsp_configure = None):
Note: See TracChangeset
for help on using the changeset viewer.