[examples-v2 commit] Convert led/ratemon1 example to Waf.

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


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

Author:    Bryan Dunsmore <dunsmoreb at gmail.com>
Date:      Fri Nov 29 23:43:24 2013 -0500

Convert led/ratemon1 example to Waf.

---

 led/ratemon1/wscript |   15 +++++++++++++++
 led/wscript          |    1 +
 2 files changed, 16 insertions(+), 0 deletions(-)

diff --git a/led/ratemon1/wscript b/led/ratemon1/wscript
new file mode 100644
index 0000000..b842827
--- /dev/null
+++ b/led/ratemon1/wscript
@@ -0,0 +1,15 @@
+# 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 = 'ratemon1',
+        source = ['init.c'])
+
diff --git a/led/wscript b/led/wscript
index 2f2ecc3..359a7f3 100644
--- a/led/wscript
+++ b/led/wscript
@@ -13,3 +13,4 @@ def build(bld):
     bld.recurse('timer_server')
     bld.recurse('event_server')
     bld.recurse('timeout_event')
+    bld.recurse('ratemon1')




More information about the vc mailing list