source: rtems-docs/wscript @ f529417

4.115
Last change on this file since f529417 was f529417, checked in by Chris Johns <chrisj@…>, on 10/30/16 at 01:36:15

waf: Add top build support.

  • Property mode set to 100644
File size: 610 bytes
Line 
1#
2# RTEMS Project Documentation
3#
4
5from sys import path
6from os.path import abspath
7path.append(abspath('common'))
8
9import waf as docs_waf
10
11build_all = ['c_user',
12             'posix_users',
13             'shell',
14             'user',
15             'eclipse',
16             'bsp_howto',
17             'cpu_supplement',
18             'filesystem',
19             'develenv']
20
21building = build_all
22
23def options(opt):
24    docs_waf.cmd_options(opt)
25
26def configure(conf):
27    for b in building:
28        conf.recurse(b)
29
30    conf.env['BUILD_FROM_TOP'] = 'yes'
31
32def build(ctx):
33    for b in building:
34        ctx.recurse(b)
Note: See TracBrowser for help on using the repository browser.