diff options
Diffstat (limited to 'common/waf.py')
-rw-r--r-- | common/waf.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/waf.py b/common/waf.py index 066048d..36feef5 100644 --- a/common/waf.py +++ b/common/waf.py @@ -19,7 +19,10 @@ import conf sphinx_min_version = (1, 3) def version_cmdline(ctx): - return '-Drelease="%s" -Dversion="%s"' % (ctx.env.RELEASE, ctx.env.VERSION) + return '-Drelease="%s" -Dversion="%s" -Drtems_major="%s" ' \ + '-Drtems_minor="%s" -D rtems_revision="%s"' \ + % (ctx.env.RELEASE, ctx.env.VERSION, ctx.env.RTEMS_MAJOR, + ctx.env.RTEMS_MINOR, ctx.env.RTEMS_REVISION) def sphinx_cmdline(ctx, build_type, conf_dir, doctrees, source_dir, output_dir, configs = []): |