rtems-docs/wscript
2016-10-31 08:48:35 +11:00

39 lines
694 B
Python

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