mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-15 01:46:42 +08:00

The content was manually converted from Asciidoc to Sphinx and there are some areas which remain to be done. Specifically there are some tables and embedded links which are known to remain but there are almost certainly other things to clean up.
36 lines
630 B
Python
36 lines
630 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)
|