Changeset 46498bd in rtems-docs for rtemsconfig
- Timestamp:
- 01/18/16 03:28:28 (7 years ago)
- Branches:
- 4.11, 5, am, master
- Children:
- 3a71759
- Parents:
- 6c6246c
- git-author:
- Amar Takhar <amar@…> (01/18/16 03:28:28)
- git-committer:
- Amar Takhar <verm@…> (05/03/16 00:51:24)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
rtemsconfig/wscript
r6c6246c r46498bd 3 3 path.append(abspath('../common/')) 4 4 5 5 6 from waf import cmd_configure, cmd_build 6 7 8 def options(ctx): 9 ctx.add_option('--rtems-path-py', type='string', help="Path to py/ in RTEMS.") 10 7 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 8 18 cmd_configure(ctx) 9 19 20 21 10 22 def build(ctx): 23 # path.append(ctx.env.RTEMS_PATH) 11 24 12 25 sub = { … … 15 28 "DOC": "RTEMS Config", 16 29 "FILE_DOC": "rtemsconfig", 30 "CONF_EXTRA": "sys.path.append('%s')" % ctx.env.RTEMS_PATH 17 31 } 18 32
Note: See TracChangeset
for help on using the changeset viewer.