Changeset 3a71759 in rtems-docs for rtemsconfig
- Timestamp:
- 01/18/16 05:05:50 (7 years ago)
- Branches:
- 4.11, 5, am, master
- Children:
- 11e1a6f
- Parents:
- 46498bd
- git-author:
- Amar Takhar <amar@…> (01/18/16 05:05:50)
- git-committer:
- Amar Takhar <verm@…> (05/03/16 00:51:24)
- Location:
- rtemsconfig
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rtemsconfig/wscript
r46498bd r3a71759 3 3 path.append(abspath('../common/')) 4 4 5 from waf import cmd_options_path, cmd_configure_path, cmd_build_path 5 6 6 from waf import cmd_configure, cmd_build7 7 8 8 def options(ctx): 9 ctx.add_option('--rtems-path-py', type='string', help="Path to py/ in RTEMS.")9 cmd_options_path(ctx) 10 10 11 11 def configure(ctx): 12 13 if not ctx.options.rtems_path_py: 14 ctx.fatal("--rtems-path-py is required") 15 16 ctx.env.RTEMS_PATH = ctx.options.rtems_path_py 17 18 cmd_configure(ctx) 19 20 12 cmd_configure_path(ctx) 21 13 22 14 def build(ctx): 23 # path.append(ctx.env.RTEMS_PATH)15 cmd_build_path(ctx) 24 16 25 sub = {26 "VERSION": "1.0",27 "RELEASE": "5.0.0",28 "DOC": "RTEMS Config",29 "FILE_DOC": "rtemsconfig",30 "CONF_EXTRA": "sys.path.append('%s')" % ctx.env.RTEMS_PATH31 }32 33 cmd_build(ctx, sub)
Note: See TracChangeset
for help on using the changeset viewer.