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

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


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

Author:    Bryan Dunsmore <dunsmoreb at gmail.com>
Date:      Fri Nov 29 20:46:12 2013 -0500

Convert led/msg_server example to Waf.

---

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

diff --git a/led/msg_server/wscript b/led/msg_server/wscript
new file mode 100644
index 0000000..9e7ab58
--- /dev/null
+++ b/led/msg_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 = 'msg_server',
+        source = ['init.c'])
+
diff --git a/led/wscript b/led/wscript
index 2446627..b6b37e7 100644
--- a/led/wscript
+++ b/led/wscript
@@ -8,3 +8,4 @@ import rtems_waf.rtems as rtems
 def build(bld):
     bld.recurse('timer')
     bld.recurse('sem_server')
+    bld.recurse('msg_server')




More information about the vc mailing list