summaryrefslogblamecommitdiffstats
path: root/wscript
blob: 3e35dc9fc966e36ae57ff15ba634b38f3e449685 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                              
                   









                             




                                      



                      
#
# 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)