diff options
author | Chirayu Desai <cdesai@cyanogenmod.org> | 2013-12-01 00:09:41 +0530 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2013-12-12 14:55:55 -0500 |
commit | 5b6096bb0eb385d98a03c9d23767624925c61ff7 (patch) | |
tree | 02426123fee2f1f69609f4518ee991f79f8fdbca /micromonitor | |
parent | misc: nanosecond_tick_wrap: Add support to build with waf (diff) | |
download | rtems-examples-5b6096bb0eb385d98a03c9d23767624925c61ff7.tar.bz2 |
micromonitor: umon: Add support to build with waf
Add wscript to support building with waf
Build it only for csb337 BSP (ARM)
Diffstat (limited to 'micromonitor')
-rw-r--r-- | micromonitor/umon/wscript | 14 | ||||
-rw-r--r-- | micromonitor/wscript | 11 |
2 files changed, 25 insertions, 0 deletions
diff --git a/micromonitor/umon/wscript b/micromonitor/umon/wscript new file mode 100644 index 0000000..5627c7b --- /dev/null +++ b/micromonitor/umon/wscript @@ -0,0 +1,14 @@ +# Copyright 2013 Gedare Bloom (gedare@rtems.org) +# +# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file. +# + +# Waf build script for an RTEMS Hello +import rtems_waf.rtems as rtems + +def build(bld): + rtems.build(bld) + + bld(features = 'c cprogram', + target = 'umon.exe', + source = ['test.c']) diff --git a/micromonitor/wscript b/micromonitor/wscript new file mode 100644 index 0000000..20ef9f5 --- /dev/null +++ b/micromonitor/wscript @@ -0,0 +1,11 @@ +# Copyright 2013 Gedare Bloom (gedare@rtems.org) +# +# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file. +# + +import rtems_waf.rtems as rtems + +def build(bld): + bsp = bld.get_env()['RTEMS_BSP'] + if (bsp == 'csb337'): + bld.recurse('umon') |