diff options
author | Chris Johns <chrisj@rtems.org> | 2016-10-30 12:36:15 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-10-30 12:36:30 +1100 |
commit | f529417387231d52ed83eccf4cc74f9376e4863d (patch) | |
tree | 31aa1378cddd8e7e68d8eeeeb128027b12d26fa3 /wscript | |
parent | waf: Add a build date to the copyright. (diff) | |
download | rtems-docs-f529417387231d52ed83eccf4cc74f9376e4863d.tar.bz2 |
waf: Add top build support.
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 34 |
1 files changed, 34 insertions, 0 deletions
@@ -0,0 +1,34 @@ +# +# 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', + '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) |