From 5b6096bb0eb385d98a03c9d23767624925c61ff7 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Sun, 1 Dec 2013 00:09:41 +0530 Subject: micromonitor: umon: Add support to build with waf Add wscript to support building with waf Build it only for csb337 BSP (ARM) --- micromonitor/umon/wscript | 14 ++++++++++++++ micromonitor/wscript | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 micromonitor/umon/wscript create mode 100644 micromonitor/wscript (limited to 'micromonitor') 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') -- cgit v1.2.3