From f529417387231d52ed83eccf4cc74f9376e4863d Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Sun, 30 Oct 2016 12:36:15 +1100 Subject: waf: Add top build support. --- wscript | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 wscript (limited to 'wscript') diff --git a/wscript b/wscript new file mode 100644 index 0000000..e1f8a98 --- /dev/null +++ b/wscript @@ -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) -- cgit v1.2.3