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

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


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

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

Convert led/event_server example to Waf.

---

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

diff --git a/led/event_server/wscript b/led/event_server/wscript
new file mode 100644
index 0000000..f581d2f
--- /dev/null
+++ b/led/event_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 = 'event_server',
+        source = ['init.c'])
+
diff --git a/led/wscript b/led/wscript
index 3ffdc54..4618230 100644
--- a/led/wscript
+++ b/led/wscript
@@ -11,3 +11,4 @@ def build(bld):
     bld.recurse('msg_server')
     bld.recurse('delay')
     bld.recurse('timer_server')
+    bld.recurse('event_server')




More information about the vc mailing list