[examples-v2 commit] misc: nanosecond_tick_wrap: Add support to build with waf

Gedare Bloom gedare at rtems.org
Thu Dec 12 19:49:54 UTC 2013


Module:    examples-v2
Branch:    master
Commit:    e529ec991de3c7162678966d44213d3d80a73671
Changeset: http://git.rtems.org/examples-v2/commit/?id=e529ec991de3c7162678966d44213d3d80a73671

Author:    Chirayu Desai <cdesai at cyanogenmod.org>
Date:      Sun Dec  1 00:08:21 2013 +0530

misc: nanosecond_tick_wrap: Add support to build with waf

Add wscript to support building with waf

---

 misc/nanosecond_tick_wrap/wscript |   14 ++++++++++++++
 misc/wscript                      |    1 +
 2 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/misc/nanosecond_tick_wrap/wscript b/misc/nanosecond_tick_wrap/wscript
new file mode 100644
index 0000000..892ef90
--- /dev/null
+++ b/misc/nanosecond_tick_wrap/wscript
@@ -0,0 +1,14 @@
+# Copyright 2013 Gedare Bloom (gedare at 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 = 'nanoseconds_tick_wrap.exe',
+        source = ['init.c'])
diff --git a/misc/wscript b/misc/wscript
index 1315d7e..65c9891 100644
--- a/misc/wscript
+++ b/misc/wscript
@@ -12,3 +12,4 @@ def build(bld):
     if (arch == 'i386'):
         bld.recurse('x86_display_cpu')
     bld.recurse('bspcmdline')
+    bld.recurse('nanosecond_tick_wrap')




More information about the vc mailing list