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

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


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

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

Convert led/ratemon_cond_server example to Waf.

---

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

diff --git a/led/ratemon_cond_server/wscript b/led/ratemon_cond_server/wscript
new file mode 100644
index 0000000..a76aa70
--- /dev/null
+++ b/led/ratemon_cond_server/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 = 'ratemon_cond_server',
+        source = ['test.c'])
+
diff --git a/led/wscript b/led/wscript
index 57d448a..a27e9ce 100644
--- a/led/wscript
+++ b/led/wscript
@@ -15,3 +15,4 @@ def build(bld):
     bld.recurse('timeout_event')
     bld.recurse('ratemon1')
     bld.recurse('ratemon2')
+    bld.recurse('ratemon_cond_server')




More information about the vc mailing list