summaryrefslogtreecommitdiffstats
path: root/wscript
blob: 86f3e9404b758d02b80ecf09c1ea6b10b31b36ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# RTEMS Project Documentation
#

from sys import path
from os.path import abspath
path.append(abspath('common'))

import waf as docs_waf

build_all = ['c-user',
             'posix-users',
             'shell',
             'user',
             'eclipse',
             'bsp-howto',
             'cpu-supplement',
             'filesystem',
             'rsb',
             'develenv']

building = build_all

def options(opt):
    docs_waf.cmd_options(opt)

def configure(conf):
    for b in building:
        conf.recurse(b)
    conf.env['BUILD_FROM_TOP'] = 'yes'

def build(ctx):
    for b in building:
        ctx.recurse(b)

def install(ctx):
    for b in building:
        ctx.recurse(b)